From 6715ee8af07cfd6c20179e9ed944194b203460f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Mon, 14 Dec 2020 15:50:32 +0100 Subject: [PATCH] fix: minor css tweaks --- .../feature/strategy/strategy.module.scss | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/frontend/src/component/feature/strategy/strategy.module.scss b/frontend/src/component/feature/strategy/strategy.module.scss index 7a80650ff7..b8a7cb8fcf 100644 --- a/frontend/src/component/feature/strategy/strategy.module.scss +++ b/frontend/src/component/feature/strategy/strategy.module.scss @@ -14,8 +14,13 @@ overflow: 'visible'; } +.cardText { + width: unset; + padding: 0 10px 10px; +} + .isDragging { - opacity: 0.4; + opacity: 0.2; border: 2px dotted black; } @@ -29,7 +34,14 @@ @media (max-width: 1024px) { .item { - margin: 2px 0; + margin: 2px; + } +} + +@media (max-width: 500px) { + .item { + min-width: unset; + margin: 2px; } } @@ -77,7 +89,7 @@ .paddingDesktop { - padding: 16px; + padding: 10px; } @media (max-width: 500px) {