mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-09 02:52:38 +00:00
next iteration
This commit is contained in:
@@ -208,7 +208,7 @@ const Snippetbar = createClass({
|
|||||||
if(!this.props.showEditButtons) return;
|
if(!this.props.showEditButtons) return;
|
||||||
|
|
||||||
let foldButtons;
|
let foldButtons;
|
||||||
if(this.props.view == 'text'){
|
if(this.props.view !== 'meta'){
|
||||||
foldButtons =
|
foldButtons =
|
||||||
<>
|
<>
|
||||||
<div className={`editorTool foldAll ${this.props.foldCode ? 'active' : ''}`}
|
<div className={`editorTool foldAll ${this.props.foldCode ? 'active' : ''}`}
|
||||||
|
|||||||
@@ -13,12 +13,14 @@
|
|||||||
|
|
||||||
.snippets {
|
.snippets {
|
||||||
display : flex;
|
display : flex;
|
||||||
justify-content : space-evenly;
|
justify-content : flex-start;
|
||||||
|
min-width:327.58px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editors {
|
.editors {
|
||||||
display : flex;
|
display : flex;
|
||||||
justify-content : space-between;
|
justify-content : flex-end;
|
||||||
|
min-width:225px;
|
||||||
|
|
||||||
&:only-child {
|
&:only-child {
|
||||||
margin-left:auto;
|
margin-left:auto;
|
||||||
@@ -223,19 +225,12 @@
|
|||||||
}
|
}
|
||||||
/*text tab*/
|
/*text tab*/
|
||||||
@container editor (width < 553px) {
|
@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*/
|
/*This rule doesn't apply to properties editor or homepage*/
|
||||||
.snippetBar:not(:has(>*:only-child)) {
|
.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 { border-bottom : 1px solid;}
|
||||||
.editors > div.history > .dropdown { right : unset; }
|
.editors > div.history > .dropdown { right : unset; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user