Skip to content

Commit

Permalink
[#2480] Final P conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
jiromaykin committed May 28, 2024
1 parent 478c9be commit 702c0f2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<aside class="file">
<div class="file__container {% if recently_added %}file__container--recent{% endif %}">
<div class="file__file">
<p class="file__symbol">
<div class="file__symbol">
{% if is_image %}
{% icon icon="image" outlined=True %}
{% else %}
{% icon icon="insert_drive_file" outlined=True %}
{% endif %}
</p>
</div>

<p class="file__data">
<div class="file__data">
{% if recently_added %}
<span class="file__file--recent">{% icon icon="fiber_manual_record" outlined=False extra_classes="file__file--recent" %}{% trans "Nieuw" %}</span>
{% endif %}
Expand All @@ -26,7 +26,7 @@
{% endif %}
</span>
<span class="file__date">{{ created|date:'j F Y' }}</span>
</p>
</div>
{% if allow_delete %}
{% dropdown icon="more_horiz" %}
<div class="dropdown__item">
Expand Down
8 changes: 4 additions & 4 deletions src/open_inwoner/js/components/form/FileInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,14 +293,14 @@ export class FileInput extends Component {
<aside class="file">
<div class="file__container">
<div class="file__file ${typeError || sizeError ? 'error' : ''}">
<p class="file__symbol">
<div class="file__symbol">
<span aria-hidden="true" class="material-icons-outlined">${
type.match('image') ? 'image' : 'description'
}</span>
</p>
<p class="file__data">
</div>
<div class="file__data">
<span class="file__name">${name} (${ext}, ${sizeMB}MB)</span>
</p>
</div>
<a class="link link--primary file__download" href="#document-upload" role="button" aria-label="${labelDelete}">
<span aria-hidden="true" class="material-icons-outlined">delete</span>
</a>
Expand Down
6 changes: 3 additions & 3 deletions src/open_inwoner/scss/components/Cases/Cases.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
cursor: pointer;
}

&__title_text {
padding-top: var(--spacing-medium);
padding-bottom: var(--spacing-extra-large);
> .utrecht-paragraph--oip-title-text {
padding-top: var(--spacing-large);
padding-bottom: var(--spacing-giant);
}
}
2 changes: 1 addition & 1 deletion src/open_inwoner/templates/pages/cases/list_inner.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% load link_tags button_tags i18n grid_tags icon_tags list_tags pagination_tags utils %}

<h1 class="utrecht-heading-1" id="cases">{{ page_title }} ({{ paginator.count }})</h1>
<p class="cases__title_text">{{ title_text }}</p>
<p class="utrecht-paragraph utrecht-paragraph--oip-title-text">{{ title_text }}</p>

<div class="card__grid">
{% render_grid %}
Expand Down

0 comments on commit 702c0f2

Please sign in to comment.