From 932d8db7bb6bc96b5f8305514c298938e87b6d41 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sat, 13 Aug 2022 17:53:57 +0200 Subject: [PATCH] change: edit for subtitle flex --- src/app/subtitle/subtitle.component.css | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/app/subtitle/subtitle.component.css b/src/app/subtitle/subtitle.component.css index 94bb557..514cd45 100644 --- a/src/app/subtitle/subtitle.component.css +++ b/src/app/subtitle/subtitle.component.css @@ -19,17 +19,21 @@ } .form { - display: block; + display: flex; + flex-direction: column; + align-items: center; margin: 0 0.5em; } .form label { display: block; + margin: 0.5em 0 } .form input { display: block; width: 95%; + margin: 0.5em 0; } h2 { @@ -43,6 +47,18 @@ h2 { justify-content: flex-start; } + .form { + flex-direction: row; + } + + .form label { + margin-right: 0.5em; + } + + .form input { + margin: 0.5em; + } + h2 { text-align: left; margin: 0 0.2em; -- 2.39.5