Skip to content

Commit

Permalink
header en fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hakonhjaltalin committed Apr 3, 2024
1 parent bc0fa81 commit b02d1ea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
6 changes: 3 additions & 3 deletions _includes/header-en.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<header class="hagstofa">
<div class="container">
<div class="row">
<div class="brand col-6 col-lg-4">
<div class="brand col-6 col-lg-2">
<a href="https://hagstofa.is/">
<img src="{{ site.baseurl }}/assets/img/header_brand_en.svg" alt="Hagstofa Íslands" />
</a>
</div>
<div id="main-text" class="header-text col-4">
<div id="main-text" class="header-text col-8">
Sustainable Development Goals
</div>
<div class="header-language col-6 col-lg-4">
<div class="header-language col-6 col-lg-2">
<div class="upper-desktop-navbar">
<a id="link-button-language" class="link-button" href="{{ site.baseurl }}/">
<i class="picon-tungumal"></i>
Expand Down
14 changes: 6 additions & 8 deletions _sass/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -348,19 +348,17 @@ footer.hagstofa {
}

@media (min-width: 992px) {
#main-text {
display: block;
}

#mobile-main-text {
display: none;
}

header.hagstofa .upper-desktop-navbar #link-button-visar {
display: flex;
}
}

@media (min-width: 1200px) {
#main-text {
display: block;
}
}

@media (max-width: 992px) {
.header-search-bar {
width: 100% !important;
Expand Down

0 comments on commit b02d1ea

Please sign in to comment.