diff --git a/client/homebrew/editor/snippetbar/snippetbar.jsx b/client/homebrew/editor/snippetbar/snippetbar.jsx
index 96edbd49c..e4f9dad2c 100644
--- a/client/homebrew/editor/snippetbar/snippetbar.jsx
+++ b/client/homebrew/editor/snippetbar/snippetbar.jsx
@@ -246,53 +246,53 @@ const Snippetbar = createReactClass({
return (
{this.props.view !== 'meta' && <>
-
{ this.state.showHistory && this.renderHistoryItems() }
-
-
+
-
+
+
-
-
-
+
-
+
+
>}
-
this.props.onViewChange('text')}>
-
-
+
-
+
-
+
+
diff --git a/client/homebrew/editor/snippetbar/snippetbar.less b/client/homebrew/editor/snippetbar/snippetbar.less
index e49e02044..27c22e31b 100644
--- a/client/homebrew/editor/snippetbar/snippetbar.less
+++ b/client/homebrew/editor/snippetbar/snippetbar.less
@@ -9,6 +9,7 @@
position : relative;
display : flex;
flex-wrap : wrap-reverse;
+ reading-flow : flex-visual;
justify-content : space-between;
height : auto;
color : black;
@@ -24,6 +25,7 @@
min-width : 250px; //must be controlled every time an item is added, must be hardcoded for the wrapping as it is applied
font-size: .85rem;
&:only-child {min-width : unset; margin-left : auto;}
+ reading-order : 2;
>div {
display : flex;
@@ -32,7 +34,7 @@
&:first-child { border-left : none; }
- & > div {
+ & > button {
position : relative;
width : @menuHeight;
height : @menuHeight;
@@ -127,6 +129,7 @@
display : flex;
justify-content : flex-start;
min-width : 565.95px; //must be controlled every time an item is added, must be hardcoded for the wrapping as it is applied
+ reading-order : 1;
}
// removed caret for top level items, by request (makes buttons too wide).
@@ -214,10 +217,12 @@
flex : 1;
justify-content : space-between;
border-bottom : 1px solid;
+ reading-order : 1;
}
.snippets {
flex : 1;
justify-content : space-evenly;
+ reading-order : 2;
}
.editors > div.history > .dropdown { right : unset; }
}