From 8fcf8ac46c80a3117149cf8ce79aa632abb345b6 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Fri, 1 Oct 2021 18:08:02 -0400 Subject: [PATCH] Speed up autohiding button transition --- public/content.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/content.css b/public/content.css index 5fabc94d..7c7a7760 100644 --- a/public/content.css +++ b/public/content.css @@ -82,13 +82,13 @@ .autoHiding:not(.hidden) { transform: translateX(0%) scale(1); /* opacity is from YouTube page */ - transition: transform 0.25s, width 0.25s, opacity .1s cubic-bezier(0.4,0.0,1,1) !important; + transition: transform 0.2s, width 0.2s, opacity .1s cubic-bezier(0.4,0.0,1,1) !important; } .autoHiding.hidden { transform: translateX(100%) scale(0); /* opacity is from YouTube page */ - transition: transform 0.25s, width 0.25s, opacity .1s cubic-bezier(0.4,0.0,1,1) !important; + transition: transform 0.2s, width 0.2s, opacity .1s cubic-bezier(0.4,0.0,1,1) !important; width: 0px !important; }