# Sites via DiscourseHub botsen met bovenste balk-elementen op iPhone 14 Pro Max

**URL:** <https://meta.discourse.org/t/sites-via-discoursehub-clashing-with-top-bar-elements-on-iphone-14-pro-max/239268>\
**Category:** Bug\
**Tags:** discourse-hub, ios-app\
**Created:** [17 september 2022 om 10:24 UTC](https://meta.discourse.org/t/sites-via-discoursehub-clashing-with-top-bar-elements-on-iphone-14-pro-max/239268 "2022-09-17T10:24:35Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [17 september 2022 om 16:11 UTC](https://meta.discourse.org/t/sites-via-discoursehub-clashing-with-top-bar-elements-on-iphone-14-pro-max/239268/9 "2022-09-17T16:11:25Z")

</div>

I think this is because it’s use `height: 100%` on logo.

```scss
.d-header {
  #site-logo.logo-big {
    height: 100%;
  }
}

```

Probably a good idea to add to the core `#site-logo` `max-height: var(--header-offset)` to prevent this. 🤔

Quick fix 🔽

> **Remove these from your custom theme**
>
> From Desktop `theme_1`  
> ![Screenshot 2022-09-17 at 17.42.59](https://global.discourse-cdn.com/meta/original/4X/0/0/7/0076a721e2c7706bfe6b9c87a9bb5e5c26fbc36c.png)
> 
> ```scss
> .d-header {
> #site-logo.logo-big {
> height: 100%;
> }
> }
> 
> ```
> 
> And from Mobile `theme_1`  
> ![Screenshot 2022-09-17 at 17.46.52](https://global.discourse-cdn.com/meta/original/4X/5/8/6/5868c04d2f35b7c6f707071d0e0acb6db9282837.png)
> 
> ```scss
> .d-header {
> #site-logo {
> height: 100%;
> max-height: 100%;
> }
> }
> 
> ```

> **Add these to your custom theme**
>
> Add this to common 🔽
> 
> ```scss
> .d-header {
> #site-logo {
> height: 100%;
> max-height: var(--header-offset);
> }
> }
> 
> ```
> 
> Add this to desktop 🔽
> 
> ```scss
> .d-header {
> #site-logo.logo-small {
> height: 2.667em;
> }
> }
> 
> ```
> 
> Add this to mobile section 🔽
> 
> ```scss
> .d-header {
> .title {
> max-width: 100%;
> #site-logo.logo-small {
> max-height: 2.4em;
> }
> }
> }
> 
> ```

After these changes 🔽

Desktop:

 ![Screenshot 2022-09-17 at 18.02.14](https://global.discourse-cdn.com/meta/original/4X/2/0/7/207b8a16de798b7f835d736aa9ddde65181b834a.png)

Mobile:  
 ![Screenshot 2022-09-17 at 18.04.00](https://global.discourse-cdn.com/meta/original/4X/3/e/f/3ef7e0c22333f148d1bc492368da0a593bca96a3.png)

---

_[View the full topic](https://meta.discourse.org/t/sites-via-discoursehub-clashing-with-top-bar-elements-on-iphone-14-pro-max/239268)._
