Skip to content

Commit 77ec060

Browse files
committed
Don't have extra left margin when module name wraps
1 parent 0ec87c8 commit 77ec060

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/styles/app.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ html {
1111
}
1212

1313
.module-name {
14-
display: inline-block;
14+
display: inline-flex;
15+
align-items: center;
16+
flex-wrap: wrap;
17+
gap: var(--spacing-1);
1518
margin-bottom: 0;
1619
}
1720

1821
.access {
1922
color: #fff;
2023
background-color: var(--color-gray-600);
21-
margin-left: var(--spacing-1);
2224
padding: 0.25rem var(--spacing-1);
2325
font-size: var(--font-size-md);
2426
border-radius: var(--radius);

0 commit comments

Comments
 (0)