Skip to content

Commit fa070cc

Browse files
authored
Wrap details rather than overflowing (#918)
1 parent cf27336 commit fa070cc

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/main/webapp/js/style.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,23 @@ h1 {
2525
.pgv-details {
2626
display: flex;
2727
align-items: center;
28-
gap: 1.5rem;
28+
gap: 1rem 1.5rem;
2929
margin-left: 0.25rem;
3030
margin-bottom: 0.875rem;
3131
margin-top: -0.25rem;
32+
flex-wrap: wrap;
33+
34+
@media (width <= 800px) {
35+
margin-block: 0.75rem 1rem;
36+
}
3237

3338
& > div {
3439
display: flex;
3540
align-items: center;
3641
gap: 1ch;
37-
font-size: 14px;
42+
font-size: var(--font-size-sm);
3843
color: var(--text-color-secondary);
39-
font-weight: 450;
44+
font-weight: var(--font-bold-weight);
4045
text-box: trim-both;
4146

4247
a {

0 commit comments

Comments
 (0)