Improved multi-line callout rendering

Closes #300
This commit is contained in:
Dan Brown 2017-02-05 14:47:00 +00:00
parent d369d315a7
commit ee495450cc
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

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