From 7123f3e595706b347987134d73a3bd669eb45d90 Mon Sep 17 00:00:00 2001 From: Fabien Arcellier Date: Tue, 4 Jun 2024 08:53:59 +0200 Subject: [PATCH] chore: improve ui consistency (padding, content align) --- src/ui/src/builder/BuilderFieldsPadding.vue | 17 +++++++++-------- src/ui/src/builder/BuilderSelect.vue | 5 +++++ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/ui/src/builder/BuilderFieldsPadding.vue b/src/ui/src/builder/BuilderFieldsPadding.vue index 53b2967a5..5c87cf61f 100644 --- a/src/ui/src/builder/BuilderFieldsPadding.vue +++ b/src/ui/src/builder/BuilderFieldsPadding.vue @@ -42,7 +42,7 @@ @select="handleInputSelect" />
- padding + All
- padding + X px
- padding + Y
- padding + Left px
- padding + Right px
- padding + Top px
- padding + Bottom { flex-direction: row; gap: 8px; padding: 8px; - align-items: center; + align-items: baseline; } .row input { width: calc(100% - 32px) !important; + text-align: right; } diff --git a/src/ui/src/builder/BuilderSelect.vue b/src/ui/src/builder/BuilderSelect.vue index 542b941f6..19439813c 100644 --- a/src/ui/src/builder/BuilderSelect.vue +++ b/src/ui/src/builder/BuilderSelect.vue @@ -152,6 +152,7 @@ const select = (event) => { display: block; padding: 8px; font-weight: 400; + font-size: 0.75rem; color: #000000e6; cursor: pointer; transition: all 0.2s; @@ -182,4 +183,8 @@ const select = (event) => { flex-direction: row; gap: 8px; } + +.selectContent { + font-size: 0.75rem; +}