Skip to content

A platform for community discussion. Free, open, simple.

Minor follow up fix to 4f12768 for mobile

Kris1f5cecaf280d
diff --git a/app/assets/stylesheets/common/d-editor.scss b/app/assets/stylesheets/common/d-editor.scss
index 6183aa0b14a..d51d437b269 100644
--- a/app/assets/stylesheets/common/d-editor.scss
+++ b/app/assets/stylesheets/common/d-editor.scss
@@ -197,8 +197,11 @@
--resizer-height: 1.75em;
position: relative;
display: inline-block;
- padding-bottom: var(--resizer-height);
- margin-bottom: calc(var(--resizer-height) * -1);
+ .desktop-view & {
+ // need the extra space on mobile because controls are always visible
+ padding-bottom: var(--resizer-height);
+ margin-bottom: calc(var(--resizer-height) * -1);
+ }
img {
padding-bottom: 0;