From a6ac6b98c2c04903e7544d321f739d63844b8a81 Mon Sep 17 00:00:00 2001 From: Gazook89 Date: Thu, 19 Sep 2024 11:09:22 -0500 Subject: [PATCH] some fixes and updates This fixes something i broke with last commit, but should be final commit. --- .../editor/metadataEditor/metadataEditor.less | 66 ++++++++----------- .../stringArrayEditor/stringArrayEditor.jsx | 2 +- 2 files changed, 30 insertions(+), 38 deletions(-) diff --git a/client/homebrew/editor/metadataEditor/metadataEditor.less b/client/homebrew/editor/metadataEditor/metadataEditor.less index 6a9f4bcc6..1ffd72831 100644 --- a/client/homebrew/editor/metadataEditor/metadataEditor.less +++ b/client/homebrew/editor/metadataEditor/metadataEditor.less @@ -234,41 +234,34 @@ } } } - #groupedIcon { - #backgroundColors; - position : relative; - top : -0.3em; - right : -0.3em; - display : inline-block; - min-width : 20px; - height : ~'calc(100% + 0.6em)'; - color : white; - text-align : center; - cursor : pointer; - i { - position : relative; - top : 50%; - transform : translateY(-50%); - } + .field .list { + display : flex; + flex : 1 0; + flex-wrap : wrap; - &:not(:last-child) { border-right : 1px solid black; } + > * { flex : 0 0 auto; } - &:last-child { border-radius : 0 0.5em 0.5em 0; } - } - .field .tag-input { - flex: 1 0; - .list { - display : flex; - flex : 1 0; - flex-wrap : wrap; + #groupedIcon { + #backgroundColors; + position : relative; + top : -0.3em; + right : -0.3em; + display : inline-block; + min-width : 20px; + height : ~'calc(100% + 0.6em)'; + color : white; + text-align : center; + cursor : pointer; - > * { flex : 0 0 auto; } + i { + position : relative; + top : 50%; + transform : translateY(-50%); + } - - &:not(:last-child) { border-right : 1px solid black; } - + &:last-child { border-radius : 0 0.5em 0.5em 0; } } @@ -294,32 +287,31 @@ min-width : 75px; height : 100%; } - + .input-group { height : ~'calc(.9em + 4px + .6em)'; - + input { border-radius : 0.5em 0 0 0.5em; } - + input:last-child { border-radius : 0.5em; } - + .value { width : 7.5vw; min-width : 75px; height : 100%; } - + .invalid:focus { background-color : pink; } - + .icon { #groupedIcon; top : -0.54em; right : 1px; height : 97%; - + i { font-size : 1.125em; } } } } - } } \ No newline at end of file diff --git a/client/homebrew/editor/stringArrayEditor/stringArrayEditor.jsx b/client/homebrew/editor/stringArrayEditor/stringArrayEditor.jsx index 8f06ae561..47ab038cc 100644 --- a/client/homebrew/editor/stringArrayEditor/stringArrayEditor.jsx +++ b/client/homebrew/editor/stringArrayEditor/stringArrayEditor.jsx @@ -128,7 +128,7 @@ const StringArrayEditor = createClass({ return
-
+
{valueElements}