Improve edit tray size handling for small screens

This commit is contained in:
Nick O'Leary
2016-05-06 17:19:32 +01:00
parent 74b7500181
commit ea41a0e842
9 changed files with 52 additions and 27 deletions

View File

@@ -28,7 +28,7 @@
position:absolute;
margin: 0;
top: 0;
min-width: 500px;
//min-width: 500px;
width: auto;
right: -1000px;
bottom: 0;
@@ -40,12 +40,13 @@
.editor-tray.open {
right: 0;
}
.editor-tray-body {
width: auto;
padding: 20px;
min-width: 500px;
.editor-tray-body-wrapper {
width: 100%;
box-sizing: border-box;
overflow-y: scroll;
overflow: auto;
}
.editor-tray-body {
margin: 20px;
}
.editor-tray-header {
@include disable-selection;
@@ -68,7 +69,7 @@
.editor-tray-toolbar {
text-align: right;
padding: 8px;
padding: 6px;
button {
@include workspace-button;