Skip to content

Commit 5119bda

Browse files
committed
fix: resolve icon-16.png asset path warnings in CSS
- Update background image references to use absolute paths (/icon-16.png) - This fixes Vite build warnings about unresolved asset references - The icon file exists in static/icon-16.png and needs the leading slash
1 parent d172b23 commit 5119bda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ body > #demo-frame {
751751
height: 18px;
752752
width: 18px;
753753
margin-right: 5px;
754-
background: url(icon-16.png) no-repeat;
754+
background: url(/icon-16.png) no-repeat;
755755
vertical-align: middle;
756756
-webkit-filter: grayscale(0.9);
757757
filter: grayscale(0.9);
@@ -764,7 +764,7 @@ body > #demo-frame {
764764
height: 20px;
765765
width: 20px;
766766
margin-right: 0px;
767-
background: url(icon-16.png) 0px 0px no-repeat;
767+
background: url(/icon-16.png) 0px 0px no-repeat;
768768
-webkit-filter: grayscale(0);
769769
filter: grayscale(0);
770770
opacity: 1;

0 commit comments

Comments
 (0)