tenseleyflow/shithub / 41091c7

Browse files

Center README header controls

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
41091c78b71142827e05b4f93972deaaaff64b67
Parents
991453a
Tree
81f1c9d

1 changed file

StatusFile+-
M internal/web/static/css/shithub.css 10 4
internal/web/static/css/shithub.cssmodified
@@ -4788,20 +4788,21 @@ button.shithub-repo-action {
47884788
   display: flex;
47894789
   align-items: center;
47904790
   gap: 0.35rem;
4791
-  align-self: stretch;
4791
+  align-self: center;
47924792
   margin-left: auto;
47934793
 }
47944794
 .shithub-readme-head-actions .shithub-button-icon,
47954795
 .shithub-readme-outline > summary {
47964796
   box-sizing: border-box;
4797
-  display: inline-grid;
4798
-  place-items: center;
4797
+  display: inline-flex;
4798
+  align-items: center;
4799
+  justify-content: center;
47994800
   flex: 0 0 32px;
48004801
   width: 32px;
48014802
   min-width: 32px;
48024803
   height: 32px;
48034804
   padding: 0;
4804
-  line-height: 0;
4805
+  line-height: 1;
48054806
 }
48064807
 .shithub-readme-head-actions svg {
48074808
   display: block;
@@ -4833,10 +4834,13 @@ button.shithub-repo-action {
48334834
 .shithub-readme-outline {
48344835
   display: inline-flex;
48354836
   align-items: center;
4837
+  justify-content: center;
48364838
   position: relative;
48374839
   flex: 0 0 auto;
4840
+  width: 32px;
48384841
   height: 32px;
48394842
   margin: 0;
4843
+  align-self: center;
48404844
 }
48414845
 .shithub-readme-outline > summary {
48424846
   margin: 0;
@@ -4846,6 +4850,8 @@ button.shithub-repo-action {
48464850
   background: transparent;
48474851
   cursor: pointer;
48484852
   list-style: none;
4853
+  appearance: none;
4854
+  -webkit-appearance: none;
48494855
 }
48504856
 .shithub-readme-outline > summary::marker {
48514857
   content: "";