diff --git a/services/web/app/views/user/restricted.pug b/services/web/app/views/user/restricted.pug index eba1d2ab05..bcc2e8499f 100644 --- a/services/web/app/views/user/restricted.pug +++ b/services/web/app/views/user/restricted.pug @@ -6,8 +6,8 @@ block content .row .col-md-8.offset-md-2.text-center .page-header - h2 #{translate("restricted_no_permission")} + h1 #{translate("restricted_no_permission")} p - span.inline-material-symbols - a(href="/").material-symbols(aria-hidden="true") arrow_left_alt - a(href="/") #{translate("take_me_home")} + a.inline-material-symbols(href="/") + span.material-symbols(aria-hidden="true") arrow_left_alt + | #{translate("take_me_home")} diff --git a/services/web/frontend/stylesheets/bootstrap-5/base/layout.scss b/services/web/frontend/stylesheets/bootstrap-5/base/layout.scss index 4a8d517ba6..d27fb59ad7 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/base/layout.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/base/layout.scss @@ -79,13 +79,8 @@ hr { margin-top: calc(var(--line-height-03) * 4); } -.inline-material-symbols { - display: inline-flex; - align-items: center; - - a.material-symbols { - text-decoration: none; - } +.inline-material-symbols .material-symbols { + vertical-align: middle; } .container-custom-sm {