From ba5cd20ef2b09361539669075a993e32753d8804 Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Mon, 20 Jan 2025 17:08:53 -0500 Subject: [PATCH] UX: Remove table editor transition effect (#30878) This fixes a bit of jitteriness on mobile, noticeable mostly when going from the topic list to a post that has a table. --- app/assets/stylesheets/common/base/topic-post.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 {