Skip to content

Commit c02ec2b

Browse files
OliverGeneserslint
authored andcommitted
feat: add max-width to tombstone container
1 parent 72a5aea commit c02ec2b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/restricted_with_doi_tombstone.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% extends config.THEME_ERROR_TEMPLATE %}
88

99
{%- block message %}
10-
<div class="container centered rel-pt-2">
10+
<div class="ui container max-w-3/5 centered rel-pt-2">
1111
<h1 class="ui header inline-block">
1212
<i class="icon lightning" aria-hidden="true"></i>
1313
<div class="content">

invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/tombstone.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{%- endif %}
1515

1616
{%- block message %}
17-
<div class="container centered rel-pt-2">
17+
<div class="ui container max-w-3/5 centered rel-pt-2">
1818
<h1 class="ui header inline-block">
1919
<i class="icon lightning" aria-hidden="true"></i>
2020
<div class="content pl-0 rel-pr-1">

invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/elements/container.overrides

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
width: 100% !important; // Overwriting semantic-ui's !important. Please don't remove.
8383
}
8484
}
85+
8586
&.ml-0-mobile {
8687
@media screen and (max-width: @largestMobileScreen) {
8788
margin-left: 0 !important;
@@ -93,6 +94,10 @@
9394
margin-right: 0 !important;
9495
}
9596
}
97+
98+
&.max-w-3\/5 {
99+
max-width: 60% !important;
100+
}
96101
}
97102

98103
.ui.container.requests-feed-container {

0 commit comments

Comments
 (0)