diff --git a/client/homebrew/editor/snippetbar/snippetbar.jsx b/client/homebrew/editor/snippetbar/snippetbar.jsx
index 7f5e5dc71..50237b914 100644
--- a/client/homebrew/editor/snippetbar/snippetbar.jsx
+++ b/client/homebrew/editor/snippetbar/snippetbar.jsx
@@ -207,21 +207,16 @@ const Snippetbar = createClass({
renderEditorButtons : function(){
if(!this.props.showEditButtons) return;
- let foldButtons;
- if(this.props.view !== 'meta'){
- foldButtons =
- <>
-
-
-
-
-
-
- >;
-
- }
+ const foldButtons = <>
+
+
+
+
+
+
+ >;
return
diff --git a/client/homebrew/editor/snippetbar/snippetbar.less b/client/homebrew/editor/snippetbar/snippetbar.less
index 79a51c7dd..319cd0cad 100644
--- a/client/homebrew/editor/snippetbar/snippetbar.less
+++ b/client/homebrew/editor/snippetbar/snippetbar.less
@@ -14,18 +14,15 @@
.snippets {
display : flex;
justify-content : flex-start;
- min-width:327.58px;
+ min-width : 327.58px;
}
.editors {
display : flex;
justify-content : flex-end;
- min-width:225px;
+ min-width : 225px;
- &:only-child {
- min-width: unset;
- margin-left:auto;
- }
+ &:only-child { margin-left : auto; }
>div {
display : flex;
@@ -66,12 +63,14 @@
&.foldAll {
.tooltipLeft('Fold All');
font-size : 0.75em;
- color : inherit;
+ color : grey;
+ &.active { color : inherit; }
}
&.unfoldAll {
.tooltipLeft('Unfold All');
font-size : 0.75em;
- color : inherit;
+ color : grey;
+ &.active { color : inherit; }
}
&.history {
.tooltipLeft('History');
@@ -225,13 +224,17 @@
}
}
}
-/*text tab*/
@container editor (width < 553px) {
- /*This rule doesn't apply to properties editor or homepage*/
- .snippetBar:not(:has(>*:only-child)) {
- .editors { flex:1;justify-content : space-between;}
- .snippets { flex:1;justify-content : space-evenly; }
- .editors { border-bottom : 1px solid;}
+ .snippetBar {
+ .editors {
+ flex : 1;
+ justify-content : space-between;
+ border-bottom : 1px solid;
+ }
+ .snippets {
+ flex : 1;
+ justify-content : space-evenly;
+ }
.editors > div.history > .dropdown { right : unset; }
}
}