]> BookStack Code Mirror - bookstack/commitdiff
Updates styles.
authorNilesh Deepak <redacted>
Wed, 12 Jul 2017 08:22:21 +0000 (13:52 +0530)
committerNilesh Deepak <redacted>
Wed, 12 Jul 2017 08:22:21 +0000 (13:52 +0530)
resources/assets/sass/styles.scss

index 67ff3fa0adc999b1646492f81c658301b9dedb70..a16aff60df40446e692c080962b67172e901a439 100644 (file)
@@ -277,14 +277,11 @@ $btt-size: 40px;
 
 
 .gallery-item {
-  width: 22%;
-  padding: 5px;
-  float: left;
+  margin-bottom: 32px;
   height: 330px;
-  margin: 2% 1% 2% 1%;
   overflow: hidden;
   border: 1px solid #9e9e9e;
-  h3 {
+  h4 {
     font-size: 1.2em;
     text-align: center;
   }
@@ -293,12 +290,15 @@ $btt-size: 40px;
     text-align: center;
     padding: 0px 12px;
   }
-  img {
-    height: 192px;
-    width: 120px;
-    margin-top: 5%;
-  }
   &.collapse {
     height: 130px;
   }
+}
+
+.gallery-image {
+  margin-top: 5%;
+  text-align: center;
+  img {
+    border-radius: 3px;
+  }
 }
\ No newline at end of file
Morty Proxy This is a proxified and sanitized view of the page, visit original site.