A platform for community discussion. Free, open, simple.
UX: make table edit element fixed visible on tablets (#38686)
chapoib9bbddfd0e85
diff --git a/app/assets/stylesheets/common/table-builder/table-edit-decorator.scss b/app/assets/stylesheets/common/table-builder/table-edit-decorator.scssindex 2b2c7e49f51..caa7f149d9f 100644--- a/app/assets/stylesheets/common/table-builder/table-edit-decorator.scss+++ b/app/assets/stylesheets/common/table-builder/table-edit-decorator.scss@@ -1,3 +1,5 @@+@use "lib/viewport";+.btn-edit-table {-webkit-touch-callout: none;user-select: none;@@ -17,13 +19,16 @@}.discourse-touch & {- display: flex;- flex-direction: column-reverse;- padding-bottom: 0.5em;+ @include viewport.until(xl) {+ display: flex;+ flex-direction: column-reverse;+ padding-bottom: 0.5em;- .open-popup-link {- left: 0;- margin: 0;+ .open-popup-link {+ opacity: 100%;+ left: 0;+ margin: var(--space-2) 0 0;+ }}}}