From 7f0e0604fdb56d66e94edf30bf9d9440a6680452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 21 Oct 2018 12:41:13 +0200 Subject: [PATCH] scss: add generic style for forms of a category cell picture (#27972) --- static/includes/_cells.scss | 8 ++++++++ static/nancy-2017/_custom.scss | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/static/includes/_cells.scss b/static/includes/_cells.scss index 8c953379..e863af74 100644 --- a/static/includes/_cells.scss +++ b/static/includes/_cells.scss @@ -212,6 +212,14 @@ div.wcscurrentformscell ul { } } +div.wcsformsofcategorycell { + picture img { + max-width: 100%; + padding: 0.5rem; + box-sizing: border-box; + } +} + div.list-of-forms { span.form-number { -ms-flex-grow: 1; diff --git a/static/nancy-2017/_custom.scss b/static/nancy-2017/_custom.scss index a4acb8b5..00ed0f1d 100644 --- a/static/nancy-2017/_custom.scss +++ b/static/nancy-2017/_custom.scss @@ -561,6 +561,11 @@ ul#evolutions li:first-child { width: 100%; } +#content .wcsformsofcategorycell { + picture img { + padding: 0; + } +} @each $i in 1, 2, 3, 4, 6, 12 { @for $j from 1 through $i { -- 2.19.1