From 0c0ba0b6ca1cba76387cb76785239daad5784fe5 Mon Sep 17 00:00:00 2001 From: Gazook89 <58999374+Gazook89@users.noreply.github.com> Date: Thu, 29 Jul 2021 11:26:41 -0500 Subject: [PATCH] Update metadataEditor.less - Fix Publish button and following small text so there is no overlap - set `nowrap` on checkbox inputs/labels so that the labels do not wrap to the next line from their input. - set min-width on values so that text boxes shrink to the same width; and can flex to any larger size. --- .../editor/metadataEditor/metadataEditor.less | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/client/homebrew/editor/metadataEditor/metadataEditor.less b/client/homebrew/editor/metadataEditor/metadataEditor.less index c3141f0d..9d4e9534 100644 --- a/client/homebrew/editor/metadataEditor/metadataEditor.less +++ b/client/homebrew/editor/metadataEditor/metadataEditor.less @@ -18,10 +18,11 @@ font-weight : 800; line-height : 1.8em; text-transform : uppercase; - flex-grow : 0; + flex : 0 0 auto; } &>.value{ - flex-grow : 1; + flex : 1 1 auto; + min-width : 200px; } } .description.field textarea.value{ @@ -38,6 +39,8 @@ font-size : 0.7em; font-weight : 800; user-select : none; + white-space : nowrap; + display : inline-block; } input{ vertical-align : middle; @@ -47,6 +50,9 @@ .publish.field .value{ position : relative; margin-bottom: 15px; + button{ + width:100%; + } button.publish{ .button(@blueLight); } @@ -76,4 +82,4 @@ font-size: 0.8em; line-height : 1.5em; } -} \ No newline at end of file +}