# Header logo too wide on narrower screens - iPhone 4/5 and split view

**URL:** https://meta.discourse.org/t/header-logo-too-wide-on-narrower-screens-iphone-4-5-and-split-view/34701
**Category:** UX
**Created:** [October 20, 2015, 1:08am UTC](https://meta.discourse.org/t/header-logo-too-wide-on-narrower-screens-iphone-4-5-and-split-view/34701 "2015-10-20T01:08:42Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![mr8](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mr8](https://meta.discourse.org/u/mr8)
#### Post date: [October 20, 2015, 1:08am UTC](https://meta.discourse.org/t/header-logo-too-wide-on-narrower-screens-iphone-4-5-and-split-view/34701/1 "2015-10-20T01:08:42Z")

</div>

Was playing around in safari’s new responsive design mode and noticed that the logo is a little too wide when logged out pushing the buttons on the right downwards:

 ![](https://global.discourse-cdn.com/meta/original/3X/f/c/fca08d664060b607ebc1da19cfb9f1c5f2fe9fee.png)

I don’t actually have a iPhone 4 or a 5 anymore so I can’t personally test this out on the actual device, but I seem to be able to reproduce it on both meta and try:

 ![](https://global.discourse-cdn.com/meta/original/3X/9/3/936cdb7a633eda9d87c6e52e23f84290e7a563b7.png)

---

<div class="post-metadata">

### Author: ![mr8](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mr8](https://meta.discourse.org/u/mr8)
#### Post date: [October 20, 2015, 4:52am UTC](https://meta.discourse.org/t/header-logo-too-wide-on-narrower-screens-iphone-4-5-and-split-view/34701/2 "2015-10-20T04:52:10Z")

</div>

ok, looks like this is also an issue on iOS 9’s [multitasking](http://www.apple.com/ios/whats-new/#ipad) **split view** and **slide over** modes:

 ![](https://global.discourse-cdn.com/meta/original/3X/a/3/a37545caf29b676aa49bb3a00a1ca516cc7f71c9.PNG)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 20, 2015, 5:14am UTC](https://meta.discourse.org/t/header-logo-too-wide-on-narrower-screens-iphone-4-5-and-split-view/34701/3 "2015-10-20T05:14:44Z")

</div>

I think this is a different regression – **both buttons should not show up on mobile** ; there’s simply not room for both “Sign Up” and “Log In”.

Can you post a fuller screenshot, I am not clear how you’re generating the above.

---

<div class="post-metadata">

### Author: ![mr8](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mr8](https://meta.discourse.org/u/mr8)
#### Post date: [October 20, 2015, 5:36am UTC](https://meta.discourse.org/t/header-logo-too-wide-on-narrower-screens-iphone-4-5-and-split-view/34701/4 "2015-10-20T05:36:38Z")

</div>

The first images are from OS X El Cap’s new responsive design mode in safari emulating an iPhone 4 or 5’s narrow display.

The second one is a screen grab from my iPad air 2 using the split screen mode. I believe discourse automatically sends the desktop version to the iPad even when in split-view/slide-over mode causing the two buttons to show up.

My iPad just died but i’ll try to post some more images tomorrow.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [October 20, 2015, 6:37am UTC](https://meta.discourse.org/t/header-logo-too-wide-on-narrower-screens-iphone-4-5-and-split-view/34701/5 "2015-10-20T06:37:57Z")

</div>

Maybe the button needs its own row.

 ![](https://global.discourse-cdn.com/meta/original/3X/4/6/460477953ab34aa7711697bfc4388ec89cdbad40.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 20, 2015, 7:42am UTC](https://meta.discourse.org/t/header-logo-too-wide-on-narrower-screens-iphone-4-5-and-split-view/34701/6 "2015-10-20T07:42:56Z")

</div>

No – that would make the fixed header absurdly large.

Hmm, I changed the `max-width` but now the logo is being pushed down. Aha looks like left over `valign-helper` hack, let’s get rid of that too.

---

<div class="post-metadata">

### Author: ![mr8](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mr8](https://meta.discourse.org/u/mr8)
#### Post date: [November 15, 2015, 5:57pm UTC](https://meta.discourse.org/t/header-logo-too-wide-on-narrower-screens-iphone-4-5-and-split-view/34701/7 "2015-11-15T17:57:00Z")

</div>

wider logos still looked a little weird on mobile..

 ![](https://global.discourse-cdn.com/meta/original/3X/6/5/65fdd0571267dcc48ee850a76e4b3143af06a1e3.png)  
 ![](https://global.discourse-cdn.com/meta/original/3X/e/8/e8e333917cf21e250f70fc96ceb70a8032f1c483.png)

I think this should fix it:

```
.d-header .title{
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
	align-items: center;
}
@media only screen and (min-width: 375px) {
	.d-header .title, .d-header #site-logo {
		max-width: 185px;
	}
}

```

hope this helps!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [November 15, 2015, 10:56pm UTC](https://meta.discourse.org/t/header-logo-too-wide-on-narrower-screens-iphone-4-5-and-split-view/34701/8 "2015-11-15T22:56:51Z")

</div>

Yep that is a bug we need to fix, ideally with flexbox.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 18, 2016, 8:48am UTC](https://meta.discourse.org/t/header-logo-too-wide-on-narrower-screens-iphone-4-5-and-split-view/34701/9 "2016-08-18T08:48:35Z")

</div>


