Browse Source

gui: Vertically center identicons in accordion titles

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3252
Daniel Harte 9 years ago
parent
commit
16063933d1
2 changed files with 8 additions and 4 deletions
  1. 2 2
      gui/dark/assets/css/theme.css
  2. 6 2
      gui/default/assets/css/overrides.css

+ 2 - 2
gui/dark/assets/css/theme.css

@@ -94,8 +94,8 @@ li.hidden-xs:hover, .navbar-link:hover, .navbar-link:focus {
     border-top: 1px solid #222 !important;
 }
 
-.identicon>rect {
-    fill: #aaa !important;
+.identicon rect {
+    fill: #aaa;
 }
 
 .panel-heading:hover, .panel-heading:focus {

+ 6 - 2
gui/default/assets/css/overrides.css

@@ -196,18 +196,22 @@ table.table-condensed td.no-overflow-ellipse {
 }
 
 identicon {
-    display: inline-block;
-    position: relative;
     width: 1em;
     height: 1em;
     line-height: 1;
 }
 
+h4 identicon{
+    margin-top: 0.125em;
+    margin-bottom: 0.125em;
+}
+
 .identicon {
     width: 1em;
     height: 1em;
 }
 
+
 /**
  * Progress bars with centered text
  */