Skip to content

Commit d31b513

Browse files
committed
Fix icon-crossfade sizing: use grid stacking instead of fixed box
1 parent 58ffa60 commit d31b513

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

src/routes/+page.svelte

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,18 +1469,13 @@
14691469
14701470
.icon-crossfade {
14711471
position: relative;
1472-
display: flex;
1473-
align-items: center;
1474-
justify-content: center;
1475-
width: 16px;
1476-
height: 16px;
1477-
overflow: visible;
1472+
display: grid;
1473+
place-items: center;
14781474
}
14791475
14801476
.icon-crossfade-item {
1481-
position: absolute;
1477+
grid-area: 1 / 1;
14821478
display: flex;
1483-
overflow: visible;
14841479
}
14851480
14861481
/* Logo overlay */

0 commit comments

Comments
 (0)