Skip to content

Commit

Permalink
[components] Scrollcontainer has default style. Override for mobile i…
Browse files Browse the repository at this point in the history
…n defaultpane (#631)
  • Loading branch information
Kristoffer J. Sivertsen authored and bjoerge committed Mar 2, 2018
1 parent 0a8032b commit e4801da
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions packages/@sanity/components/src/panes/styles/DefaultPane.css
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,16 @@
height: calc(100% + 3rem);
}

/* @media (--max-screen-medium) {
overflow: visible;
position: relative;
height: auto;
} */
@media (--max-screen-medium) {
/* Override default scrollcontainer */
transform: initial;
position: initial;
top: initial;
left: initial;
height: initial;
width: initial;
overflow: initial;
}

@nest .isCollapsed & {
display: none;
Expand Down

0 comments on commit e4801da

Please sign in to comment.