From 348e794b8836b8c769dfd01f7c1bd86eb4078629 Mon Sep 17 00:00:00 2001 From: dxvladslavvolkov Date: Wed, 15 Nov 2023 14:28:06 +0400 Subject: [PATCH] Fix editors --- src/app/preview/editors/editors.component.css | 8 ++-- .../preview/editors/editors.component.html | 40 ++++++++++--------- 2 files changed, 26 insertions(+), 22 deletions(-) diff --git a/src/app/preview/editors/editors.component.css b/src/app/preview/editors/editors.component.css index cbe0dd95..3500326b 100644 --- a/src/app/preview/editors/editors.component.css +++ b/src/app/preview/editors/editors.component.css @@ -31,7 +31,7 @@ .editors .block .field { margin: 0 10px 20px 0; - flex: 1 0 180px; + flex: 1; display: flex; flex-direction: column; justify-content: space-between; @@ -135,15 +135,15 @@ display: flex; } -.last-fields { +.grouped-fields { display: flex; width: 100%; } -.editors .last-fields .field.validation { +.editors .grouped-fields .field.validation { flex-basis: 32%; } -.editors .last-fields .field.daterangebox { +.editors .grouped-fields .field.daterangebox { flex-basis: 66%; } diff --git a/src/app/preview/editors/editors.component.html b/src/app/preview/editors/editors.component.html index dbe16076..de871746 100644 --- a/src/app/preview/editors/editors.component.html +++ b/src/app/preview/editors/editors.component.html @@ -22,27 +22,31 @@
Text Editors
-
- -
-
- -
-
- -
-
- -
-
-
- +
+
+ +
+
+ +
+
+
-
- +
+
+ +
+
+
+ +
+
+
+ +
-
+