diff --git a/src/components/input-group/input-group.css b/src/components/input-group/input-group.css index 6ca8661c..6c9d8b83 100644 --- a/src/components/input-group/input-group.css +++ b/src/components/input-group/input-group.css @@ -1,7 +1,7 @@ @import '../../css/units.css'; .input-group + .input-group { - margin-left: calc(3 * $grid-unit); + margin-left: calc(2 * $grid-unit); } .disabled { @@ -9,9 +9,3 @@ /* Prevent any user actions */ pointer-events: none; } - -@media only screen and (max-width: 1095px) { - .input-group + .input-group { - margin-left: calc(2 * $grid-unit); - } -} diff --git a/src/components/labeled-icon-button/labeled-icon-button.css b/src/components/labeled-icon-button/labeled-icon-button.css index 54a755e4..f150fda6 100644 --- a/src/components/labeled-icon-button/labeled-icon-button.css +++ b/src/components/labeled-icon-button/labeled-icon-button.css @@ -15,8 +15,8 @@ $border-radius: 0.25rem; } .edit-field-icon { - width: 1.5rem; - height: 1.5rem; + width: 1.25rem; + height: 1.25rem; flex-grow: 1; vertical-align: middle; } diff --git a/src/components/paint-editor/paint-editor.css b/src/components/paint-editor/paint-editor.css index e643a0b9..9e28b9f9 100644 --- a/src/components/paint-editor/paint-editor.css +++ b/src/components/paint-editor/paint-editor.css @@ -4,7 +4,7 @@ .editor-container { display: flex; flex-direction: column; - padding: calc(4 * $grid-unit); + padding: calc(3 * $grid-unit); } .row { @@ -30,7 +30,7 @@ .mod-dashed-border { border-right: 1px dashed $ui-pane-border; - padding-right: calc(3 * $grid-unit); + padding-right: calc(2 * $grid-unit); } .mod-unselect { @@ -48,7 +48,7 @@ $border-radius: 0.25rem; border: 1px solid $ui-pane-border; border-radius: 0; border-left: none; - padding: calc(2 * $grid-unit); + padding: .35rem; } .button-group-button:last-of-type { @@ -110,16 +110,16 @@ $border-radius: 0.25rem; } .menu-item-icon { - margin-right: calc(2* $grid-unit); + margin-right: calc(2 * $grid-unit); } .mod-mode-tools { - margin-left: calc(3 * $grid-unit); + margin-left: calc(2 * $grid-unit); } .canvas-container { - width: 500px; - height: 400px; + width: 480px; + height: 360px; box-sizing: content-box; border: 1px solid #e8edf1; border-radius: .25rem; @@ -143,13 +143,14 @@ $border-radius: 0.25rem; flex-direction: row-reverse; } -@media only screen and (max-width: 1095px) { +@media only screen and (max-width: $full-size-paint) { + .editor-container { + padding: calc(3 * $grid-unit) $grid-unit; + } + .mode-selector { + margin-right: $grid-unit; flex-direction: column; justify-content: flex-start; } - - .mod-dashed-border { - padding-right: calc(2 * $grid-unit); - } } diff --git a/src/components/paint-editor/paint-editor.jsx b/src/components/paint-editor/paint-editor.jsx index 40cee25c..d68c3c2c 100644 --- a/src/components/paint-editor/paint-editor.jsx +++ b/src/components/paint-editor/paint-editor.jsx @@ -122,13 +122,22 @@ class PaintEditorComponent extends React.Component {