mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-27 22:22:42 +00:00
next iteration
This commit is contained in:
@@ -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' : ''}`}
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user