diff --git a/src/open_inwoner/scss/components/Card/CardGrid.scss b/src/open_inwoner/scss/components/Card/CardGrid.scss new file mode 100644 index 0000000000..6c26e5e1a9 --- /dev/null +++ b/src/open_inwoner/scss/components/Card/CardGrid.scss @@ -0,0 +1,22 @@ +.card__grid { + & .grid { + grid-row-gap: var(--spacing-medium); + grid-column-gap: var(--spacing-extra-large); + + // Tablets + @media (min-width: 500px) and (max-width: 767px) { + flex-direction: row; + flex-wrap: wrap; + + .column { + flex-basis: calc(50% - var(--spacing-large)); + } + } + + .column--start-4 { + @media (min-width: 768px) and (max-width: 900px) { + grid-column-start: 1; + } + } + } +} diff --git a/src/open_inwoner/scss/components/Cases/Cases.scss b/src/open_inwoner/scss/components/Cases/Cases.scss index 119fd3a4f3..29d3efbe6f 100644 --- a/src/open_inwoner/scss/components/Cases/Cases.scss +++ b/src/open_inwoner/scss/components/Cases/Cases.scss @@ -1,27 +1,6 @@ .cases { margin-top: var(--spacing-giant); - &__grid .grid { - grid-row-gap: var(--spacing-medium); - grid-column-gap: var(--spacing-extra-large); - - // Tablets - @media (min-width: 500px) and (max-width: 767px) { - flex-direction: row; - flex-wrap: wrap; - - .column { - flex-basis: calc(50% - var(--spacing-large)); - } - } - - .column--start-4 { - @media (min-width: 768px) and (max-width: 900px) { - grid-column-start: 1; - } - } - } - /// cards on cases list .card { .cases__link { diff --git a/src/open_inwoner/scss/components/List/_ListItem.scss b/src/open_inwoner/scss/components/List/_ListItem.scss index 7ef3fe873d..edcf644c36 100644 --- a/src/open_inwoner/scss/components/List/_ListItem.scss +++ b/src/open_inwoner/scss/components/List/_ListItem.scss @@ -22,6 +22,10 @@ padding: 0; } + & .list-item__caption { + line-height: var(--font-line-height-body-small); + } + &--compact:first-child { padding-top: 0; } diff --git a/src/open_inwoner/scss/components/_index.scss b/src/open_inwoner/scss/components/_index.scss index 4339827b56..12ac209d91 100644 --- a/src/open_inwoner/scss/components/_index.scss +++ b/src/open_inwoner/scss/components/_index.scss @@ -4,6 +4,7 @@ @import './Button/Button.scss'; @import './Button/ButtonRow.scss'; @import './Card/Card.scss'; +@import './Card/CardGrid.scss'; @import './Card/LocationCardList.scss'; @import './CardContainer/CardContainer.scss'; @import './Cases/Cases.scss'; diff --git a/src/open_inwoner/templates/pages/cases/list_inner.html b/src/open_inwoner/templates/pages/cases/list_inner.html index a66a46dee2..cbc9554e9a 100644 --- a/src/open_inwoner/templates/pages/cases/list_inner.html +++ b/src/open_inwoner/templates/pages/cases/list_inner.html @@ -3,7 +3,7 @@
{{ title_text }}
-{% trans "Een overzicht van uw afspraken" %}
+{% trans "Geen afspraken beschikbaar" %}
{% endif %}