Center README header controls
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
41091c78b71142827e05b4f93972deaaaff64b67- Parents
-
991453a - Tree
81f1c9d
41091c7
41091c78b71142827e05b4f93972deaaaff64b67991453a
81f1c9d| Status | File | + | - |
|---|---|---|---|
| M |
internal/web/static/css/shithub.css
|
10 | 4 |
internal/web/static/css/shithub.cssmodified@@ -4788,20 +4788,21 @@ button.shithub-repo-action { | ||
| 4788 | 4788 | display: flex; |
| 4789 | 4789 | align-items: center; |
| 4790 | 4790 | gap: 0.35rem; |
| 4791 | - align-self: stretch; | |
| 4791 | + align-self: center; | |
| 4792 | 4792 | margin-left: auto; |
| 4793 | 4793 | } |
| 4794 | 4794 | .shithub-readme-head-actions .shithub-button-icon, |
| 4795 | 4795 | .shithub-readme-outline > summary { |
| 4796 | 4796 | box-sizing: border-box; |
| 4797 | - display: inline-grid; | |
| 4798 | - place-items: center; | |
| 4797 | + display: inline-flex; | |
| 4798 | + align-items: center; | |
| 4799 | + justify-content: center; | |
| 4799 | 4800 | flex: 0 0 32px; |
| 4800 | 4801 | width: 32px; |
| 4801 | 4802 | min-width: 32px; |
| 4802 | 4803 | height: 32px; |
| 4803 | 4804 | padding: 0; |
| 4804 | - line-height: 0; | |
| 4805 | + line-height: 1; | |
| 4805 | 4806 | } |
| 4806 | 4807 | .shithub-readme-head-actions svg { |
| 4807 | 4808 | display: block; |
@@ -4833,10 +4834,13 @@ button.shithub-repo-action { | ||
| 4833 | 4834 | .shithub-readme-outline { |
| 4834 | 4835 | display: inline-flex; |
| 4835 | 4836 | align-items: center; |
| 4837 | + justify-content: center; | |
| 4836 | 4838 | position: relative; |
| 4837 | 4839 | flex: 0 0 auto; |
| 4840 | + width: 32px; | |
| 4838 | 4841 | height: 32px; |
| 4839 | 4842 | margin: 0; |
| 4843 | + align-self: center; | |
| 4840 | 4844 | } |
| 4841 | 4845 | .shithub-readme-outline > summary { |
| 4842 | 4846 | margin: 0; |
@@ -4846,6 +4850,8 @@ button.shithub-repo-action { | ||
| 4846 | 4850 | background: transparent; |
| 4847 | 4851 | cursor: pointer; |
| 4848 | 4852 | list-style: none; |
| 4853 | + appearance: none; | |
| 4854 | + -webkit-appearance: none; | |
| 4849 | 4855 | } |
| 4850 | 4856 | .shithub-readme-outline > summary::marker { |
| 4851 | 4857 | content: ""; |