Skip to content

Commit 706049f

Browse files
ArthurDataColinFay
authored andcommitted
fix: fix icon when screen resize
1 parent 571c756 commit 706049f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

pkgdown/extra.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,18 @@
2323

2424
/* ---- Callouts ---- */
2525
.callout {
26-
position: relative;
2726
border: 1px solid var(--bs-primary);
2827
padding: 1rem 2rem;
2928
margin: 1rem 0;
3029
border-radius: var(--bs-border-radius);
31-
display: flex;
32-
flex-direction: row;
30+
display: grid;
31+
grid-template-columns: auto 1fr;
3332
align-items: center;
3433
gap: 3rem;
3534
background: #7176b817;
3635

3736
p {
38-
margin: auto;
37+
margin: 10px 0;
3938
}
4039
}
4140

@@ -49,7 +48,7 @@
4948
border-radius: 50%;
5049
color: var(--bs-body-bg);
5150
background-color: $color;
52-
width: 3rem;
51+
width: 2rem;
5352
height: 2rem;
5453
display: inline-flex;
5554
align-items: center;

0 commit comments

Comments
 (0)