From 322385b9135fba12c352e7ba26be75aad64f46bf Mon Sep 17 00:00:00 2001 From: Steve Hoang <82992510+lotusk08@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:09:04 +0700 Subject: [PATCH] fix: clipboard button hover --- _sass/base/_syntax.scss | 5 +++-- assets/lib | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/_sass/base/_syntax.scss b/_sass/base/_syntax.scss index 93ae3459368..f694b2fcdc2 100644 --- a/_sass/base/_syntax.scss +++ b/_sass/base/_syntax.scss @@ -218,11 +218,12 @@ div { @extend %cursor-pointer; @extend %rounded; - border: 0px solid transparent; + border: none; height: v.$code-header-height; width: v.$code-header-height; padding: 0; - background-color: inherit; + background-color: transparent; + transition: border-color 0.3s ease, background-color 0.3s ease; i { color: var(--code-header-icon-color); diff --git a/assets/lib b/assets/lib index 06896ae537a..6727c724b87 160000 --- a/assets/lib +++ b/assets/lib @@ -1 +1 @@ -Subproject commit 06896ae537a87e64edbe8463b8e1c8fdbc242db8 +Subproject commit 6727c724b87465c63ae9c640263321ef1fb98984