From c3e112e7c2c4352ac5d2c14b8e673b311ea1c9f3 Mon Sep 17 00:00:00 2001 From: GabrielMeyer Date: Tue, 17 Sep 2019 09:49:45 +0200 Subject: [PATCH] Fixes uggly opening of motion-card - Moves the `display: grid` to `.os-card`, since it causes the behavior. --- .../motion-detail/motion-detail.component.scss | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/client/src/app/site/motions/modules/motion-detail/components/motion-detail/motion-detail.component.scss b/client/src/app/site/motions/modules/motion-detail/components/motion-detail/motion-detail.component.scss index e289be6af..43f3fdebf 100644 --- a/client/src/app/site/motions/modules/motion-detail/components/motion-detail/motion-detail.component.scss +++ b/client/src/app/site/motions/modules/motion-detail/components/motion-detail/motion-detail.component.scss @@ -141,15 +141,12 @@ span { } .desktop-right { - display: grid; - - min-width: calc(70% - 90px); - - mat-card { - display: inline; - margin: 0px 40px 10px 10px; + .os-form-card { + margin-bottom: 20px; } + .os-card { + display: grid; max-width: 900px; min-width: 400px; margin-left: 0 !important;