fix: card hover border not change

This commit is contained in:
ycjcl868 2019-12-27 10:58:01 +08:00
parent 7c3beabd4c
commit 61520d2f00
2 changed files with 1 additions and 3 deletions

View File

@ -3,7 +3,6 @@
@card-prefix-cls: ~'@{ant-prefix}-card'; @card-prefix-cls: ~'@{ant-prefix}-card';
@card-head-height: 48px; @card-head-height: 48px;
@card-hover-border: transparent;
@card-action-icon-size: 16px; @card-action-icon-size: 16px;
@gradient-min: fade(@card-skeleton-bg, 20%); @gradient-min: fade(@card-skeleton-bg, 20%);
@ -20,7 +19,6 @@
&-hoverable { &-hoverable {
cursor: pointer; cursor: pointer;
&:hover { &:hover {
border-color: @card-hover-border;
box-shadow: @card-shadow; box-shadow: @card-shadow;
} }
} }

View File

@ -76,7 +76,7 @@ pre[class*='language-'] {
[data-theme='dark'] :not(pre) > code[class*='language-'], [data-theme='dark'] :not(pre) > code[class*='language-'],
[data-theme='dark'] pre[class*='language-'] { [data-theme='dark'] pre[class*='language-'] {
color: rgba(255, 255, 255, 0.65); color: rgba(255, 255, 255, 0.65);
background: #141414; background: #262626;
} }
/* Inline code */ /* Inline code */