Skip to content

Commit

Permalink
fix: logo styling in japanese language (sugarlabs#4270)
Browse files Browse the repository at this point in the history
  • Loading branch information
iampratt authored and Ubayed-Bin-Sufian committed Jan 24, 2025
1 parent 08b5d69 commit 3449cd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@
<div
id="mb-logo"
class="logo left tooltipped"
style="line-height: 0; height: 100%; padding-right: 0;"
style="display: flex; align-items: center; line-height: 0; height: 100%; padding-right: 0;"
data-position="bottom"
>
<amp-img
Expand Down
2 changes: 1 addition & 1 deletion js/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ class Toolbar {
renderLogoIcon(onclick) {
const logoIcon = docById("mb-logo");
if (this.language === "ja") {
logoIcon.innerHTML = '<img style="width: 100%;" src="images/logo-ja.svg">';
logoIcon.innerHTML = '<img style="width: 100%; transform: scale(0.85);" src="images/logo-ja.svg">';
}

logoIcon.onmouseenter = () => {
Expand Down

0 comments on commit 3449cd3

Please sign in to comment.