美化添加背景页面颜色选中悬浮激活后的效果反馈,去掉放大效果

This commit is contained in:
jingrow 2026-01-21 20:29:19 +08:00
parent e19e516fb0
commit 42563f67a8

View File

@ -1652,13 +1652,12 @@ const removeHistoryItem = (index: number) => {
flex-shrink: 0; /* Prevent flex compression */ flex-shrink: 0; /* Prevent flex compression */
&:hover { &:hover {
transform: scale(1.1);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
z-index: 1; border-color: #1fc76f;
} }
&.active { &.active {
transform: scale(1.15); border-color: #1fc76f;
&::after { &::after {
content: ''; content: '';
@ -2255,13 +2254,12 @@ const removeHistoryItem = (index: number) => {
overflow: visible; overflow: visible;
&:hover { &:hover {
transform: scale(1.08);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
z-index: 1; border-color: #1fc76f;
} }
&.active { &.active {
transform: scale(1.15); border-color: #1fc76f;
&::after { &::after {
content: ''; content: '';