Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[issues] translation issue and icon style #904

Merged
merged 3 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% load i18n wagtailcore_tags wagtailimages_tags %}

<section class="modul-icontiles">
<section class="modul-icontiles ds-modul-icontiles">
<h2 class="title">{{ value.title }}</h2>
<div class=icontiles__inner>
<ul>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 3.2.19 on 2023-10-31 10:40

from django.db import migrations
import multiselectfield.db.fields


class Migration(migrations.Migration):

dependencies = [
('apps_measures', '0012_use_urlfield_for_website'),
]

operations = [
migrations.AlterField(
model_name='measuresdetailpage',
name='inclusive_shaping_of_urban_life',
field=multiselectfield.db.fields.MultiSelectField(blank=True, choices=[('1', 'Participatory Governance'), ('2', 'Transparent Decision Processes'), ('3', 'Citizen Services'), ('4', 'Digital Citizens Rights and Privacy')], max_length=7),
),
]
2 changes: 1 addition & 1 deletion apps/measures/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
]

INCLUSIVE_SHAPING_OF_URBAN_LIFE = [
('1', _('Participation')),
('1', _('Participatory Governance')),
('2', _('Transparent Decision Processes')),
('3', _('Citizen Services')),
('4', _('Digital Citizens Rights and Privacy')),
Expand Down
16 changes: 16 additions & 0 deletions digitalstrategie/assets/scss/components/_ds-block-overwrites.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,19 @@
padding-right: $spacer;
padding-bottom: $spacer;
}

.ds-modul-icontiles {
// ensure all tiles same height despite row ref #902
.icontile, .modul-icontile {
min-height: 145px;

@media (min-width: 73.8135rem) {
min-height: 180px;
}
}

// ensure the alt text is not 40px
.decoration > img {
font-size: $font-size-base;
}
}
Loading