mirror of
https://github.com/danbulant/api_docs
synced 2026-06-19 22:31:47 +00:00
Factor nav-padding into search input width (#967)
Hardcoded value of 30px no longer works when navigation padding is changed. This is now calculated dynamically.
This commit is contained in:
parent
c8941b0a05
commit
7ecc79c93b
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ html, body {
|
||||||
padding: 6px 0 6px 20px;
|
padding: 6px 0 6px 20px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin: $nav-v-padding $nav-padding;
|
margin: $nav-v-padding $nav-padding;
|
||||||
width: $nav-width - 30;
|
width: $nav-width - ($nav-padding*2);
|
||||||
outline: none;
|
outline: none;
|
||||||
color: $nav-text;
|
color: $nav-text;
|
||||||
border-radius: 0; /* ios has a default border radius */
|
border-radius: 0; /* ios has a default border radius */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue