mirror of
https://github.com/danbulant/api_docs
synced 2026-05-20 20:58:53 +00:00
Add extra margin to nav touch targets on mobile
This commit is contained in:
parent
1e144aaa66
commit
3125ad8f72
1 changed files with 11 additions and 1 deletions
|
|
@ -55,8 +55,13 @@ html, body {
|
|||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
|
||||
// language selector for mobile devices
|
||||
.lang-selector {
|
||||
display: none; // only on mobile
|
||||
display: none;
|
||||
a {
|
||||
padding-top: 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
// This is the logo at the top of the ToC
|
||||
|
|
@ -556,6 +561,11 @@ html, body {
|
|||
#nav-button {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.tocify-wrapper .tocify-item > a {
|
||||
padding-top: 0.3em;
|
||||
padding-bottom: 0.3em;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $phone-width) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue