File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed
addons/mod/choice/templates Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 5555 < div class ="item item-divider ">
5656 < h3 > {{ 'mma.mod_choice.responses' | translate }}</ h3 >
5757 </ div >
58- < div class ="mm-warning " ng-if ="hasOffline ">
59- < i class ="icon ion-alert-circled padding "> </ i > {{ 'mma.mod_choice.resultsnotsynced' | translate }}
60- </ div >
6158 < div class ="row row-no-padding responsive-md ">
6259 < div class ="col col-33 ">
6360 < div class ="mm-warning " ng-if ="hasOffline ">
Original file line number Diff line number Diff line change @@ -594,10 +594,25 @@ p.mm-error {
594594 box-shadow : $card-box-shadow ;
595595 margin : 20px 10px ;
596596 background-color : #fff ;
597+ position : relative ;
598+ padding-left : $item-padding * 3 ;
599+ text-align : left ;
597600
598- i .icon :before {
599- color : $mm-warning-color ;
600- font-size : 125% ;
601+ i .icon {
602+ @include display-flex ();
603+ @include align-items (center );
604+ position : absolute ;
605+ top : 0 ;
606+ height : 100% ;
607+ font-size : ceil (($item-icon-font-size / 4 ) * 3 );
608+ left : ceil ($item-padding / 4 );
609+ color : $mm-warning-color ;
610+
611+ & :before {
612+ display : block ;
613+ width : ceil (($item-icon-font-size / 4 ) * 3 );
614+ text-align : center ;
615+ }
601616 }
602617}
603618
You can’t perform that action at this time.
0 commit comments