# 深色主题下的 Discourse 巨型标志

**URL:** https://meta.discourse.org/t/dark-theme-giant-discourse-logo/102539
**Category:** Bug
**Created:** [2018年十一月22日 15:54 UTC](https://meta.discourse.org/t/dark-theme-giant-discourse-logo/102539 "2018-11-22T15:54:51Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![jesus2099](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesus2099/32/119720_2.png) [@jesus2099](https://meta.discourse.org/u/jesus2099)
#### Post date: [2018年十一月22日 15:54 UTC](https://meta.discourse.org/t/dark-theme-giant-discourse-logo/102539/1 "2018-11-22T15:54:51Z")

</div>

Hello since today, the Dark Theme Discourse logo is giant and hides the toolbar:

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/d/3d57953cb1c9e7e47852ae1ffa58189590c266b8.png)

No problem in Light Theme (the default theme?).

Same on mobile where it pushes the right part of the header slightly out of screen:

 ![wp_ss_20181122_0001](https://global.discourse-cdn.com/meta/original/3X/3/8/38c5f58db094587f70636095af2a69548cad29e1.png)

---

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [2018年十一月22日 15:56 UTC](https://meta.discourse.org/t/dark-theme-giant-discourse-logo/102539/2 "2018-11-22T15:56:47Z")

</div>

yes - just noticed that - wasn’t happening earlier so must be a very recent change

same happening in Grey Amber

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/7/b7bfb7d474cecbca3a98cf5be0fbc9b14ef264f7.jpeg)

---

<div class="post-metadata">

### Author: ![jesus2099](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesus2099/32/119720_2.png) [@jesus2099](https://meta.discourse.org/u/jesus2099)
#### Post date: [2018年十一月22日 15:58 UTC](https://meta.discourse.org/t/dark-theme-giant-discourse-logo/102539/3 "2018-11-22T15:58:24Z")

</div>

@Johani, do you think it’s related to this?

[https://meta.discourse.org/t/smart-mobile-header/99846/73?u=jesus2099](https://meta.discourse.org/t/smart-mobile-header/99846/73)

Actually that Smart mobile header does not have this bug.  
This giant logo only shows up when the Smart header (topic title and mini logo, etc.) is not showing, that is, when we are at the top of the page.

---

<div class="post-metadata">

### Author: ![jesus2099](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesus2099/32/119720_2.png) [@jesus2099](https://meta.discourse.org/u/jesus2099)
#### Post date: [2018年十一月22日 16:10 UTC](https://meta.discourse.org/t/dark-theme-giant-discourse-logo/102539/4 "2018-11-22T16:10:21Z")

</div>

Oh, good, it just has been fixed. 😅

---

<div class="post-metadata">

### Author: ![danekhollas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danekhollas/32/79637_2.png) [@danekhollas](https://meta.discourse.org/u/danekhollas)
#### Post date: [2018年十一月22日 16:37 UTC](https://meta.discourse.org/t/dark-theme-giant-discourse-logo/102539/5 "2018-11-22T16:37:01Z")

</div>

What do you mean? Logo is still huge here on Meta as I see it…

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2018年十一月22日 16:41 UTC](https://meta.discourse.org/t/dark-theme-giant-discourse-logo/102539/6 "2018-11-22T16:41:31Z")

</div>

Yes, the “alternative logo” component we were using for the dark themes isn’t compatible with the latest improvements to core. I’ve added a temporary fix to meta, made some [extensibility improvements to core](https://github.com/discourse/discourse/commit/0083eec6869b3c849a7d6f8791e685753a02d150) and made a pull request to the component so that it should be more future-proof.

[https://github.com/hnb-ku/discourse-alt-logo/pull/1](https://github.com/hnb-ku/discourse-alt-logo/pull/1)

@danekhollas try refreshing your browser, it should be ok now 🙂

---

<div class="post-metadata">

### Author: ![bpaterson2000](https://avatars.discourse-cdn.com/v4/letter/b/45deac/32.png) [@bpaterson2000](https://meta.discourse.org/u/bpaterson2000)
#### Post date: [2018年十一月23日 02:55 UTC](https://meta.discourse.org/t/dark-theme-giant-discourse-logo/102539/7 "2018-11-23T02:55:40Z")

</div>

im using hosted-discourse and just got our site running, when I use a bad url, ie [qa.fmod.com/asdf](http://qa.fmod.com/asdf) - the home icon becomes gigantic. I see the normal sized image one has

```
img[Attributes Style] {
 height: 36px;
}

```

in the stylesheet but that is missing when visiting a bad page. I’ve forced it into the stylesheet right now to fix it but would like to remove this hack.

edit: You should be able to see the forced height value I put in , with the link above. Unticking that in the browser inspector will show the bad behaviour.

---

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [2018年十一月23日 07:30 UTC](https://meta.discourse.org/t/dark-theme-giant-discourse-logo/102539/10 "2018-11-23T07:30:05Z")

</div>

> [@david](#):
>
> made a pull request to the component so that it should be more future-proof.

Merged it and updated here on Meta, much appreciated 🙌

> [@bpaterson2000](#):
>
> the home icon becomes gigantic

Should be fixed via

[https://github.com/discourse/discourse/commit/e2214b50f34c22d44645c641968acb89f81287dc](https://github.com/discourse/discourse/commit/e2214b50f34c22d44645c641968acb89f81287dc)

Thanks for reporting the issue @bpaterson2000 👍

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [2018年十一月23日 07:41 UTC](https://meta.discourse.org/t/dark-theme-giant-discourse-logo/102539/11 "2018-11-23T07:41:44Z")

</div>

FYI this was happening to me but when I removed the duplication of the smart mobile header theme (since committed to core I understand) it was fixed (and before this commit)

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [2018年十一月24日 17:00 UTC](https://meta.discourse.org/t/dark-theme-giant-discourse-logo/102539/12 "2018-11-24T17:00:09Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
