0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 15:22:41 +00:00

wrap correctly

This commit is contained in:
Víctor Losada Hernández
2024-08-14 20:38:38 +02:00
parent 31fcf28e3f
commit f449132b4c
2 changed files with 14 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
.editor {
position : relative;
width : 100%;
container: editor / inline-size;
.codeEditor {
height : 100%;

View File

@@ -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;