From b8c47ba22465ac6da239c0d4567b5478f3a95131 Mon Sep 17 00:00:00 2001 From: ulferts Date: Mon, 19 Jun 2017 10:32:58 +0200 Subject: [PATCH] hide horizontal scrollbar (#5670) vertical scrollbar only displayed when required. Adjust margins [ci skip] --- app/assets/stylesheets/content/_autocomplete.sass | 2 +- app/assets/stylesheets/layout/_toolbar.sass | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/content/_autocomplete.sass b/app/assets/stylesheets/content/_autocomplete.sass index ea80dba163..5ad35343c9 100644 --- a/app/assets/stylesheets/content/_autocomplete.sass +++ b/app/assets/stylesheets/content/_autocomplete.sass @@ -88,7 +88,7 @@ div.autocomplete &.-inplace position: relative border: none - padding-top: 15px + margin-top: 15px line-height: 1.6 font-size: 1rem diff --git a/app/assets/stylesheets/layout/_toolbar.sass b/app/assets/stylesheets/layout/_toolbar.sass index 5c7700b494..fb7f52216a 100644 --- a/app/assets/stylesheets/layout/_toolbar.sass +++ b/app/assets/stylesheets/layout/_toolbar.sass @@ -248,6 +248,7 @@ display: block .search-query-wrapper padding: 15px + overflow: hidden .query-select-dropdown--no-results padding: 15px 15px 0 .ui-menu-item @@ -274,7 +275,7 @@ color: #999999 .ui-widget-content.-inplace max-height: 55vh - overflow-x: scroll + overflow-x: auto input[type="search"]::-webkit-search-cancel-button display: none