From 56c9413ab5c2f0c99e7634dd9e6321dfe1b7dab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Thu, 24 Oct 2024 01:04:22 +0200 Subject: [PATCH] next iteration --- .../homebrew/editor/snippetbar/snippetbar.jsx | 2 +- .../editor/snippetbar/snippetbar.less | 19 +++++++------------ 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/client/homebrew/editor/snippetbar/snippetbar.jsx b/client/homebrew/editor/snippetbar/snippetbar.jsx index 7800e1e52..7f5e5dc71 100644 --- a/client/homebrew/editor/snippetbar/snippetbar.jsx +++ b/client/homebrew/editor/snippetbar/snippetbar.jsx @@ -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 = <>
*: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; } } } +