Skip to content

Commit 41dee34

Browse files
author
Abigail Morton
authored
Update style.css
Fixing emoji wrapping issue.
1 parent 6e6a697 commit 41dee34

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

style.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,20 @@ p.sub { margin: 6px 0 0; color: var(--muted); }
7575
}
7676
.links a:hover { transform: translateY(-1px); background: #151922; }
7777

78-
.badge { font-size: 1.1rem; width: 24px; text-align: center; }
78+
.badge {
79+
font-size: 1.1rem;
80+
/* width: 24px; <-- remove this */
81+
display: inline-flex;
82+
align-items: center;
83+
gap: 2px; /* tiny space between emojis */
84+
white-space: nowrap; /* keep them on one line */
85+
line-height: 1;
86+
text-align: center;
87+
}
88+
7989
.row { display:flex; gap:10px; flex-wrap: wrap; align-items: center; }
8090
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
8191
.pill { border:1px solid rgba(255,255,255,.12); border-radius: 999px; padding:6px 10px; color: var(--muted); }
8292

8393
footer { margin-top: 16px; font-size: .9rem; color: var(--muted); text-align: center; }
84-
.copy { cursor:pointer; border:1px solid rgba(255,255,255,.12); background: transparent; color: var(--text); border-radius:10px; padding:6px 10px; }
94+
.copy { cursor:pointer; border:1px solid rgba(255,255,255,.12); background: transparent; color: var(--text); border-radius:10px; padding:6px 10px; }

0 commit comments

Comments
 (0)