Restore clearfix mixin for .component

This commit is contained in:
Giuseppe Criscione 2020-06-09 15:47:17 +02:00
parent 3a13ca943d
commit 8ce676b595
4 changed files with 18 additions and 3 deletions

View File

@ -2427,12 +2427,16 @@ span.CodeMirror-selectedtext {
margin-left: 15.875rem; } }
.component {
overflow: auto;
margin-bottom: 1rem;
padding: 1.5rem;
border-radius: 3px;
background-color: #fff;
box-shadow: rgba(240, 240, 240, 0.25) 1px 1px 9px 3px; }
.component::before, .component::after {
display: table;
content: ''; }
.component::after {
clear: both; }
.caption {
margin-bottom: 1rem;

File diff suppressed because one or more lines are too long

View File

@ -179,12 +179,12 @@
}
.component {
overflow: auto;
margin-bottom: $component-margin-bottom;
padding: $component-padding;
border-radius: $border-radius;
background-color: #fff;
box-shadow: $component-box-shadow;
@include clearfix;
}
.caption {

View File

@ -1,3 +1,14 @@
@mixin clearfix {
&::before,
&::after {
display: table;
content: '';
}
&::after {
clear: both;
}
}
@mixin user-select-none {
-webkit-user-select: none;
-moz-user-select: none;