summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hardik Modha <hardikmodha22@gmail.com> 2019-08-26 00:11:39 +0530
committerGravatar Federico Brigante <github@bfred.it> 2019-08-26 01:41:39 +0700
commit6cc38dab65e10015e28176c7d4ed7a7693d301ac (patch)
tree23da3db9d6d0420d229d1e50a1758700c272d7c9
parent3be7ae7ff66065fab8e7494c66b8b66ece3663de (diff)
downloadrefined-github-6cc38dab65e10015e28176c7d4ed7a7693d301ac.tar.gz
refined-github-6cc38dab65e10015e28176c7d4ed7a7693d301ac.tar.zst
refined-github-6cc38dab65e10015e28176c7d4ed7a7693d301ac.zip
Fix header alignment on Releases and Tags pages (#2332)19.8.26
-rw-r--r--.github/CODEOWNERS8
-rw-r--r--source/features/widen-search-field.css10
2 files changed, 11 insertions, 7 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index f74f2bb0..93e777fc 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -1,7 +1,7 @@
-source/features/filter-pr-by-build-status.tsx @HardikModha
-source/features/tags-dropdown.tsx @HardikModha
-source/features/tag-changelog-link.tsx @HardikModha
-source/features/link-to-file-in-file-history.tsx @HardikModha
+source/features/filter-pr-by-build-status.tsx @hardikmodha
+source/features/tags-dropdown.tsx @hardikmodha
+source/features/tag-changelog-link.tsx @hardikmodha
+source/features/link-to-file-in-file-history.tsx @hardikmodha
source/features/default-to-rich-diff.tsx @idasbiste
source/features/release-download-count.tsx @dotconnor
source/features/indented-code-wrapping.tsx @notlmn
diff --git a/source/features/widen-search-field.css b/source/features/widen-search-field.css
index b0e236ac..fbe11c34 100644
--- a/source/features/widen-search-field.css
+++ b/source/features/widen-search-field.css
@@ -15,9 +15,13 @@
margin-left: 20px;
}
-/* Move extra buttons to the right on Releases */
-.subnav-links {
- margin-right: auto;
+/*
+Take full available width for extra buttons on Releases page.
+It excludes anchor tags which are `New Issue` and `New Pull Request` on
+issues and pull-requests tab respectively.
+*/
+.subnav > :first-child:not(a) {
+ flex-grow: 1;
}
/* Reset width of search field in global lists */