From 6a97ccaa5e4bedab93642a5fb6f204d0a9d617a6 Mon Sep 17 00:00:00 2001 From: Caleb Alldrin Date: Mon, 13 Nov 2023 11:21:39 -0800 Subject: [PATCH] Center modal vertically --- src/app/header/header.component.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/header/header.component.css b/src/app/header/header.component.css index b093d7c2..6163785b 100755 --- a/src/app/header/header.component.css +++ b/src/app/header/header.component.css @@ -102,7 +102,12 @@ } #languageSwitchModal > div.modal-content { - margin: 5%; + margin: 0; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 90%; background: #ffffff; border-radius: 6px; height: 90%;