mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-16 19:02:40 +00:00
wrap correctly
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
.editor {
|
.editor {
|
||||||
position : relative;
|
position : relative;
|
||||||
width : 100%;
|
width : 100%;
|
||||||
|
container: editor / inline-size;
|
||||||
|
|
||||||
.codeEditor {
|
.codeEditor {
|
||||||
height : 100%;
|
height : 100%;
|
||||||
|
|||||||
@@ -2,11 +2,18 @@
|
|||||||
@import (less) '././././themes/fonts/5e/fonts.less';
|
@import (less) '././././themes/fonts/5e/fonts.less';
|
||||||
|
|
||||||
.snippetBar {
|
.snippetBar {
|
||||||
@menuHeight : 25px;
|
@menuHeight : 25px;
|
||||||
position : relative;
|
position : relative;
|
||||||
height : @menuHeight;
|
height : @menuHeight;
|
||||||
color : black;
|
color : black;
|
||||||
background-color : #DDDDDD;
|
background-color : #DDDDDD;
|
||||||
|
min-width : 331px;
|
||||||
|
|
||||||
|
@container editor (width < 538px) {
|
||||||
|
display : flex;
|
||||||
|
flex-wrap : wrap;
|
||||||
|
height : 50px;
|
||||||
|
}
|
||||||
|
|
||||||
.editors {
|
.editors {
|
||||||
position : absolute;
|
position : absolute;
|
||||||
@@ -15,6 +22,11 @@
|
|||||||
display : flex;
|
display : flex;
|
||||||
justify-content : space-between;
|
justify-content : space-between;
|
||||||
height : @menuHeight;
|
height : @menuHeight;
|
||||||
|
|
||||||
|
@container editor (width < 538px) {
|
||||||
|
position : static;
|
||||||
|
}
|
||||||
|
|
||||||
& > div {
|
& > div {
|
||||||
width : @menuHeight;
|
width : @menuHeight;
|
||||||
height : @menuHeight;
|
height : @menuHeight;
|
||||||
|
|||||||
Reference in New Issue
Block a user