Skip to content

Commit

Permalink
fix: scss image url
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnsonMao committed Apr 6, 2024
1 parent a0f10b0 commit cb1e4f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
File renamed without changes
6 changes: 3 additions & 3 deletions src/asset/styles/_custom_style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body
{
background-image: url('cover.png');
background-image: url('../cover.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
Expand Down Expand Up @@ -131,11 +131,11 @@ input

.delete-icon
{
content: url('icon/del.svg');
content: url('../icon/del.svg');

&:hover
{
content: url('icon/del_hover.svg');
content: url('../icon/del_hover.svg');
}
}
::-webkit-scrollbar
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Index/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ $mr-bg: 85px;
&::after
{
content: '';
background: url('icon/dashed_mobile.svg') no-repeat;
background: url('../../asset/icon/dashed_mobile.svg') no-repeat;
position: absolute;
top: 0;
right: 0;
Expand Down

0 comments on commit cb1e4f9

Please sign in to comment.