justify-content: center;
overflow: hidden;
position: fixed;
- z-index: 1986;
+ z-index: 20;
}
.modal.is-active {
.nav-left,
.nav-right {
+ -webkit-overflow-scrolling: touch;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
- -ms-flex-preferred-size: 0;
- flex-basis: 0;
-webkit-box-flex: 1;
-ms-flex-positive: 1;
flex-grow: 1;
-ms-flex-negative: 0;
flex-shrink: 0;
+ max-width: 100%;
+ overflow: auto;
+}
+
+@media screen and (min-width: 1192px) {
+ .nav-left,
+ .nav-right {
+ -ms-flex-preferred-size: 0;
+ flex-basis: 0;
+ }
}
.nav-left {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
- min-height: 3.25rem;
+ height: 3.25rem;
position: relative;
text-align: center;
- z-index: 2;
+ z-index: 10;
}
.nav > .container {
}
.tabs {
+ -webkit-overflow-scrolling: touch;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
Blog
</a>
- <span class="nav-item">
- <a class="button" >
- <span class="icon">
- <i class="fa fa-twitter"></i>
- </span>
- <span>Tweet</span>
- </a>
- <a class="button is-primary">
- <span class="icon">
- <i class="fa fa-download"></i>
- </span>
- <span>Download</span>
- </a>
- </span>
+ <div class="nav-item">
+ <div class="field is-grouped">
+ <p class="control">
+ <a class="button" >
+ <span class="icon">
+ <i class="fa fa-twitter"></i>
+ </span>
+ <span>Tweet</span>
+ </a>
+ </p>
+ <p class="control">
+ <a class="button is-primary">
+ <span class="icon">
+ <i class="fa fa-download"></i>
+ </span>
+ <span>Download</span>
+ </a>
+ </p>
+ </div>
+ </div>
</div>
</nav>
{% endcapture %}
justify-content: center
overflow: hidden
position: fixed
- z-index: 1986
+ z-index: 20
// Modifiers
&.is-active
display: flex
.nav-left,
.nav-right
+ +overflow-touch
align-items: stretch
display: flex
- flex-basis: 0
flex-grow: 1
flex-shrink: 0
+ max-width: 100%
+ overflow: auto
+ +widescreen
+ flex-basis: 0
.nav-left
justify-content: flex-start
align-items: stretch
background-color: $white
display: flex
- min-height: $nav-height
+ height: $nav-height
position: relative
text-align: center
- z-index: 2
+ z-index: 10
& > .container
align-items: stretch
display: flex
.tabs
+block
+ +overflow-touch
+unselectable
align-items: stretch
display: flex