]> BookStack Code Mirror - bookstack/commitdiff
Improved multi-line callout rendering
authorDan Brown <redacted>
Sun, 5 Feb 2017 14:47:00 +0000 (14:47 +0000)
committerDan Brown <redacted>
Sun, 5 Feb 2017 14:47:26 +0000 (14:47 +0000)
Closes #300

resources/assets/sass/_blocks.scss

index a2023aa37643c7e50703b4e120854bf56dab94bd..bd3f8ff4ea5d05b9ef5af72faa9394280e58240b 100644 (file)
   border-left: 3px solid #BBB;
   background-color: #EEE;
   padding: $-s;
+  padding-left: $-xl;
   display: block;
+  position: relative;
   &:before {
     font-family: 'Material-Design-Iconic-Font';
-    padding-right: $-s;
+    left: $-xs + 4px;
+    top: 50%;
+    margin-top: -9px;
+    //top: $-xs + 5px;
     display: inline-block;
+    position: absolute;
+    font-size: 1.222em;
+    line-height: 1;
   }
   &.success {
     border-left-color: $positive;