# Admin settings and plugin sidebar broken on mobile pages

**URL:** <https://meta.discourse.org/t/admin-settings-and-plugin-sidebar-broken-on-mobile-pages/30780>\
**Category:** UX\
**Created:** [7월 4, 2015, 5:19오후 UTC](https://meta.discourse.org/t/admin-settings-and-plugin-sidebar-broken-on-mobile-pages/30780 "2015-07-04T17:19:32Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [7월 7, 2015, 1:37오전 UTC](https://meta.discourse.org/t/admin-settings-and-plugin-sidebar-broken-on-mobile-pages/30780/6 "2015-07-07T01:37:07Z")

</div>

A quick fix to make it less weird is to add a clearfix to `.admin-controls` and get rid of the `height: 35px`

```plaintext
.admin-controls {
  //height: 35px;
  @include clearfix;
}

```

Then float the search control to the left for small screens:

```plaintext
  @media (max-width: 700px) {
    .admin-controls .search {
      float: left;
      width: 100%;
    }
  }

```

That keeps the admin-nav to the left of the screen. (Right now it’s not clearing the floated ‘Clear’ button.)

To get the .admin-detail section to share the screen with the admin-nav you need to get rid of the padding-left on the .admin-detail section or set it to a percentage of the total screen width.

This works and still gives a left margin:

```plaintext
@media (max-width: 700px) {
  .admin-detail {
    padding-left: 0;
    float: right;
    border-left: none;
  }
}

```

You can gain a bit of room on narrow screens by moving the setting-label to the top of the input box:

```plaintext
    @media (max-width: 700px) {
      .setting-label {
        float: none;
      }

```

If you float the reset button to the right it will stay off of the input box

```plaintext
@media (max-width: 700px) {
  .btn[title="reset"] {
    float: right;
  }
}

```

That all gives you something like this. It could be made a bit better.

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

I can make a PR if no one is working on it.

---

_[View the full topic](https://meta.discourse.org/t/admin-settings-and-plugin-sidebar-broken-on-mobile-pages/30780)._
