This commit is contained in:
Jeremy Thomas 2017-04-02 16:22:54 +01:00
parent 8ab3a9f972
commit ca20384d9e
3 changed files with 3 additions and 22 deletions

View File

@ -14,6 +14,7 @@
* Fix #389 `pre` `margin-bottom` * Fix #389 `pre` `margin-bottom`
* Fix #484 icon alignment * Fix #484 icon alignment
* Fix #506 bold nav menu * Fix #506 bold nav menu
* Fix #581 nav container
## 0.4.0 ## 0.4.0

View File

@ -4260,8 +4260,6 @@ a.nav-item.is-tab.is-active {
-webkit-box-pack: start; -webkit-box-pack: start;
-ms-flex-pack: start; -ms-flex-pack: start;
justify-content: flex-start; justify-content: flex-start;
overflow: hidden;
overflow-x: auto;
white-space: nowrap; white-space: nowrap;
} }
@ -4309,12 +4307,6 @@ a.nav-item.is-tab.is-active {
} }
} }
@media screen and (min-width: 769px) and (max-width: 999px) {
.nav-menu {
padding-right: 1.5rem;
}
}
.nav { .nav {
-webkit-box-align: stretch; -webkit-box-align: stretch;
-ms-flex-align: stretch; -ms-flex-align: stretch;
@ -4337,18 +4329,13 @@ a.nav-item.is-tab.is-active {
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
min-height: 3.25rem; min-height: 3.25rem;
width: 100%;
} }
.nav.has-shadow { .nav.has-shadow {
box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1); box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
} }
@media screen and (max-width: 768px) {
.nav > .container {
width: 100%;
}
}
.pagination { .pagination {
font-size: 1rem; font-size: 1rem;
} }

View File

@ -72,8 +72,6 @@ a.nav-item
.nav-left .nav-left
justify-content: flex-start justify-content: flex-start
overflow: hidden
overflow-x: auto
white-space: nowrap white-space: nowrap
.nav-right .nav-right
@ -104,8 +102,6 @@ a.nav-item
padding: 0.75rem padding: 0.75rem
&.is-active &.is-active
display: block display: block
+tablet-only
padding-right: 1.5rem
// Main container // Main container
@ -121,10 +117,7 @@ a.nav-item
align-items: stretch align-items: stretch
display: flex display: flex
min-height: $nav-height min-height: $nav-height
width: 100%
// Modifiers // Modifiers
&.has-shadow &.has-shadow
box-shadow: 0 2px 3px rgba($black, 0.1) box-shadow: 0 2px 3px rgba($black, 0.1)
// Responsiveness
+mobile
& > .container
width: 100%