diff options
| author | Luc Donnet | 2018-03-30 19:52:50 +0200 |
|---|---|---|
| committer | GitHub | 2018-03-30 19:52:50 +0200 |
| commit | 2159a5e7b967ddc1e7964c143facdfb26d1fb9b9 (patch) | |
| tree | 51513ab199db8d9b2f27fce2423b3b61011cc495 | |
| parent | 48b92a8446d715d5e69fb235d811929fa3f19c07 (diff) | |
| parent | 39579a329bd19b4c66936bc8601c35a02c479311 (diff) | |
| download | chouette-core-2159a5e7b967ddc1e7964c143facdfb26d1fb9b9.tar.bz2 | |
Merge pull request #429 from af83/6363-fix-sticky-header
6363 Fix sticky title overlapping buttons
| -rw-r--r-- | app/assets/stylesheets/components/_main_nav.sass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/stylesheets/components/_main_nav.sass b/app/assets/stylesheets/components/_main_nav.sass index 8e164fa01..ef3f14762 100644 --- a/app/assets/stylesheets/components/_main_nav.sass +++ b/app/assets/stylesheets/components/_main_nav.sass @@ -346,6 +346,7 @@ $menuW: 300px flex: 1 1 height: $menuH position: relative + margin-right: 2em h1 position: absolute @@ -355,8 +356,8 @@ $menuW: 300px line-height: 1.1 white-space: nowrap max-height: 1.1em - margin: 0 -1.4em 0 0 - padding: 0 1.4em 5px 0 + margin: 0 + padding: 0 0 5px 0 overflow: hidden text-overflow: ellipsis |
