0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-18 10:02:49 +00:00

"Refactored Snippetbar component: updated JSX structure, added div wrapper for snippets, changed CSS styles for editors and snippets"

This commit is contained in:
Víctor Losada Hernández
2024-08-23 13:37:12 +02:00
parent 1602f0af37
commit 1f41745d2b
2 changed files with 42 additions and 32 deletions

View File

@@ -8,11 +8,15 @@
height : @menuHeight;
color : black;
background-color : #DDDDDD;
display: flex;
.editors {
.snippets {
position : absolute;
top : 0px;
right : 0px;
}
.editors {
display : flex;
justify-content : space-between;
height : @menuHeight;
@@ -107,7 +111,7 @@
.tooltipLeft('Edit Brew Properties');
}
.snippetGroup {
border-right : 1px solid currentColor;
border-left : 1px solid currentColor;
&:hover {
& > .dropdown { visibility : visible; }
}
@@ -200,7 +204,7 @@
flex-wrap : wrap;
height : 50px;
.editors {
.snippets {
position : static;
}
}