UX: Mobile - fix editor button space, divider, extra upload icon
This commit is contained in:
parent
307499e48b
commit
8e9d0ceb67
|
@ -963,7 +963,11 @@ export default Ember.Component.extend({
|
||||||
unshift: true
|
unshift: true
|
||||||
});
|
});
|
||||||
|
|
||||||
if (this.get("allowUpload") && this.get("uploadIcon")) {
|
if (
|
||||||
|
this.get("allowUpload") &&
|
||||||
|
this.get("uploadIcon") &&
|
||||||
|
!this.site.mobileView
|
||||||
|
) {
|
||||||
toolbar.addButton({
|
toolbar.addButton({
|
||||||
id: "upload",
|
id: "upload",
|
||||||
group: "insertions",
|
group: "insertions",
|
||||||
|
|
|
@ -699,7 +699,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 350px) {
|
@include breakpoint(mobile-medium) {
|
||||||
table.grid tr {
|
table.grid tr {
|
||||||
grid-template-columns: repeat(2, 1fr);
|
grid-template-columns: repeat(2, 1fr);
|
||||||
td.controls {
|
td.controls {
|
||||||
|
|
|
@ -285,7 +285,7 @@ div.menu-links-header {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
margin: -0.5em 0;
|
margin: -0.5em 0;
|
||||||
@media screen and (max-width: 350px) {
|
@include breakpoint(mobile-medium) {
|
||||||
max-width: 125px;
|
max-width: 125px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,11 +106,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.d-editor-spacer {
|
.d-editor-spacer {
|
||||||
width: 1px;
|
height: 16px;
|
||||||
height: 20px;
|
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
background-color: $primary-low;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
border-left: 1px solid $primary-low-mid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.d-editor-preview-wrapper {
|
.d-editor-preview-wrapper {
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
$breakpoints: (
|
$breakpoints: (
|
||||||
mobile-small: 320px,
|
mobile-small: 320px,
|
||||||
|
mobile-medium: 350px,
|
||||||
mobile: 550px,
|
mobile: 550px,
|
||||||
tablet: 768px,
|
tablet: 768px,
|
||||||
medium: 850px,
|
medium: 850px,
|
||||||
|
|
|
@ -134,8 +134,9 @@
|
||||||
0
|
0
|
||||||
); // Hack: Reduces composer icon jitter while scrolling in Safari on iOS12
|
); // Hack: Reduces composer icon jitter while scrolling in Safari on iOS12
|
||||||
}
|
}
|
||||||
@media all and (max-width: 350px) {
|
@include breakpoint(mobile-medium) {
|
||||||
padding: 2px 4px;
|
padding: 4px;
|
||||||
|
font-size: 0.96em;
|
||||||
}
|
}
|
||||||
&.preview {
|
&.preview {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
Loading…
Reference in New Issue