mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
render_box with 'bloc'
use bootstrap responsive breakpoints for columns, mixed with flex-bloc cascade for growing and vertical align blocs.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
@import '~ChillMainAssets/module/bootstrap/bootstrap';
|
||||
@import '~ChillMainAssets/chill/scss/mixins';
|
||||
|
||||
section.chill-entity {
|
||||
// have no effect for render label, row, bloc
|
||||
display: inline;
|
||||
@@ -22,4 +25,11 @@ section.chill-entity {
|
||||
div.entity-row {}
|
||||
div.entity-bloc {}
|
||||
}
|
||||
|
||||
// don't break flex cascade with section tag
|
||||
div.flex-bloc & {
|
||||
display: flex;
|
||||
flex-grow: 1; flex-shrink: 1; flex-basis: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user