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

FIxed IA toolbar overflows/wraps on mobile #10063 #10205

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions openlibrary/templates/site/alert.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<div class="iaBar">
<a class="iaLogo" href="https://archive.org"><img alt="$_('Internet Archive logo')" src="/static/images/ia-logo.svg" width="160"></a>
$# detect-missing-i18n-skip-line
<a class="ghost-btn" href="https://archive.org/donate/?platform=ol&origin=olwww-TopNavDonateButton" data-ol-link-track="IABar|DonateButton">$_('Donate') <span class="heart" aria-hidden="true">♥</span></a>
<div class="language-component header-dropdown">
<a class="ghost-btn iabar-mobile" href="https://archive.org/donate/?platform=ol&origin=olwww-TopNavDonateButton" data-ol-link-track="IABar|DonateButton">$_('Donate') <span class="heart" aria-hidden="true">♥</span></a>
<div class="language-component header-dropdown iabar-mobile">
<details>
<summary>
<span>$active_ui_lang['localized'] ($active_ui_lang['code'])</span>
Expand Down
11 changes: 11 additions & 0 deletions static/css/components/iaBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,15 @@
.topNotice-logo {
font-size: 24px;
}

@media only screen and (max-width: @width-breakpoint-mobile) {
.iabar-mobile {
font-size: .9em;
}
.ghost-btn.iabar-mobile {
padding: 5px 7px;
margin-right: 10px;
margin-left: 10px;
}
}
}
Loading