mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-24 09:42:43 +01:00
Restore clearfix mixin for .component
This commit is contained in:
parent
3a13ca943d
commit
8ce676b595
@ -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;
|
||||
|
2
admin/assets/css/admin.min.css
vendored
2
admin/assets/css/admin.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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 {
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user