Skip to content

Commit dc7dd56

Browse files
committed
refactor: use SVG icons for better visual effects
fix #637
1 parent cf6fb29 commit dc7dd56

File tree

6 files changed

+7
-2
lines changed

6 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## next
4+
5+
- Use SVG icons for better visual effects (#637).
6+
37
## 1.11.6 (Sep 17, 2023)
48

59
- Fix an issue where some CSS styles were incompatible with old browsers (#611).

src/css/viewer.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
.viewer-fullscreen-exit,
1414
.viewer-close {
1515
&::before {
16-
background-image: url('../images/icons.png');
16+
background-image: url('../images/icons.svg');
1717
background-repeat: no-repeat;
1818
background-size: 280px;
1919
color: transparent;

src/css/viewer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
&-fullscreen-exit,
1515
&-close {
1616
&::before {
17-
background-image: url('../images/icons.png');
17+
background-image: url('../images/icons.svg');
1818
background-repeat: no-repeat;
1919
background-size: 280px;
2020
color: transparent;

src/images/icons.png

-1.15 KB
Binary file not shown.

src/images/icons.psd

-52.5 KB
Binary file not shown.

src/images/icons.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)