UX: better handling of logo size

This commit is contained in:
Joe
2018-11-23 22:04:42 +08:00
committed by GitHub
parent f402d0d74f
commit 336436dfb4
5 changed files with 8 additions and 6 deletions
@@ -46,7 +46,6 @@ export default createWidget("home-logo", {
attributes: {
src: Discourse.getURL(logoSmallUrl),
width: 36,
height: 36,
alt: title
}
});
@@ -61,7 +60,7 @@ export default createWidget("home-logo", {
} else if (logoUrl.length) {
return h("img#site-logo.logo-big", {
key: "logo-big",
attributes: { src: Discourse.getURL(logoUrl), height: 36, alt: title }
attributes: { src: Discourse.getURL(logoUrl), alt: title }
});
} else {
return h("h1#site-text-logo.text-logo", { key: "logo-text" }, title);