From cb1fa131ff15d1c0202e677c988eaa195a9b1691 Mon Sep 17 00:00:00 2001 From: Thorge Petersen <petersen@rz.uni-kiel.de> Date: Wed, 24 May 2023 14:47:41 +0200 Subject: [PATCH] Changed item height and logo display in organization list on mobile screen --- ckanext/odsh/fanstatic/odsh.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ckanext/odsh/fanstatic/odsh.css b/ckanext/odsh/fanstatic/odsh.css index fc88364d..5893f089 100644 --- a/ckanext/odsh/fanstatic/odsh.css +++ b/ckanext/odsh/fanstatic/odsh.css @@ -854,6 +854,13 @@ a:focus.organization-item { width: 705px; } +@media(maxwidth: 767px) { + .organization-item-text { + height: auto; + min-height: 100px; + } +} + .dataset-heading { font-weight: normal; font-size: 20px; @@ -1504,6 +1511,12 @@ body { text-align: center; } +@media(maxwidth: 767px) { + .organization-image { + margin: 10px; + } +} + .organization-image-info { max-width: 190px; height: auto; -- GitLab