Fix overflow issues on small screens [ci skip]

This commit is contained in:
ines 2018-04-29 03:17:36 +02:00
parent 49cee4af92
commit 45bb8d75a5
3 changed files with 6 additions and 2 deletions

View File

@ -86,7 +86,7 @@
} }
], ],
"V_CSS": "2.1.1", "V_CSS": "2.1.2",
"V_JS": "2.1.0", "V_JS": "2.1.0",
"DEFAULT_SYNTAX": "python", "DEFAULT_SYNTAX": "python",
"ANALYTICS": "UA-58931649-1", "ANALYTICS": "UA-58931649-1",

View File

@ -31,6 +31,7 @@
$grid-gutter: 2rem $grid-gutter: 2rem
margin-top: $grid-gutter margin-top: $grid-gutter
min-width: 0 // hack to prevent overflow
@include breakpoint(min, lg) @include breakpoint(min, lg)
display: flex display: flex

View File

@ -15,9 +15,13 @@
margin-bottom: 4rem margin-bottom: 4rem
.x-terminal__icons .x-terminal__icons
display: none
position: absolute position: absolute
padding: 10px padding: 10px
@include breakpoint(min, sm)
display: block
&:before, &:before,
&:after, &:after,
span span
@ -44,7 +48,6 @@
span span
@include size(10px) @include size(10px)
.x-terminal__code .x-terminal__code
margin: 0 margin: 0
border: none border: none