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