0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 22:22:42 +00:00

next iteration

This commit is contained in:
Víctor Losada Hernández
2024-10-24 01:04:22 +02:00
parent 88e5f26dd8
commit 56c9413ab5
2 changed files with 8 additions and 13 deletions

View File

@@ -208,7 +208,7 @@ const Snippetbar = createClass({
if(!this.props.showEditButtons) return;
let foldButtons;
if(this.props.view == 'text'){
if(this.props.view !== 'meta'){
foldButtons =
<>
<div className={`editorTool foldAll ${this.props.foldCode ? 'active' : ''}`}

View File

@@ -13,12 +13,14 @@
.snippets {
display : flex;
justify-content : space-evenly;
justify-content : flex-start;
min-width:327.58px;
}
.editors {
display : flex;
justify-content : space-between;
justify-content : flex-end;
min-width:225px;
&:only-child {
margin-left:auto;
@@ -223,19 +225,12 @@
}
/*text tab*/
@container editor (width < 553px) {
/*This rule doesn't apply to properties editor or homepage*/
.snippetBar:not(:has(>*:only-child)):has(.snippets >*:nth-child(3)) {
.editors,.snippets { flex : 1; }
.editors { border-bottom : 1px solid;}
.editors > div.history > .dropdown { right : unset; }
}
}
/*style tab*/
@container editor (width < 328px) {
/*This rule doesn't apply to properties editor or homepage*/
.snippetBar:not(:has(>*:only-child)) {
.editors,.snippets { flex : 1; }
.editors { flex:1;justify-content : space-between;}
.snippets { flex:1;justify-content : space-evenly; }
.editors { border-bottom : 1px solid;}
.editors > div.history > .dropdown { right : unset; }
}
}