Skip to content

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

UX: Remove table editor transition effect (#30878)

Penar Musarajba5cd20ef2b0
diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss
index e8b10e7cdf4..579b6ac5976 100644
--- a/app/assets/stylesheets/common/base/topic-post.scss
+++ b/app/assets/stylesheets/common/base/topic-post.scss
@@ -1565,9 +1565,12 @@ iframe {
}
.fullscreen-table-wrapper {
- transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
display: block;
position: relative;
+
+ html.discourse-no-touch & {
+ transition: box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
+ }
}
.fullscreen-code-modal {