0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-13 21:30:30 -05:00

fix(console): css loaded svg should be rendered properly (#6333)

This commit is contained in:
Charles Zhao 2024-07-25 17:00:57 +08:00 committed by GitHub
parent 9d2770cc27
commit a2e457e8ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View file

@ -87,7 +87,7 @@
} }
&.disabled { &.disabled {
background: url('raw:../../assets/images/blur-preview.svg') 0 0 / 100% auto no-repeat; background: url('../../assets/images/blur-preview.svg') 0 0 / 100% auto no-repeat;
} }
.placeholder { .placeholder {

View file

@ -76,7 +76,7 @@
&::-webkit-calendar-picker-indicator { &::-webkit-calendar-picker-indicator {
background-image: none; background-image: none;
background-color: var(--color-text-secondary); background-color: var(--color-text-secondary);
mask-image: url('raw:../../assets/icons/calendar-outline.svg'); mask-image: url('../../assets/icons/calendar-outline.svg');
mask-size: 20px 20px; mask-size: 20px 20px;
width: 16px; width: 16px;
height: 18px; height: 18px;

View file

@ -33,7 +33,7 @@
&:not(:active), &:not(:active),
&:active { &:active {
&:hover { &:hover {
background: var(--color-layer-1) center / 90% no-repeat url('raw:../../../assets/images/fireworks.svg'); background: var(--color-layer-1) center / 90% no-repeat url('../../../assets/images/fireworks.svg');
} }
} }

View file

@ -12,11 +12,11 @@
background-repeat: no-repeat; background-repeat: no-repeat;
&.light { &.light {
background-image: url('raw:../../assets/images/welcome.svg'); background-image: url('../../assets/images/welcome.svg');
} }
&.dark { &.dark {
background-image: url('raw:../../assets/images/welcome-dark.svg'); background-image: url('../../assets/images/welcome-dark.svg');
} }
} }