Skip to content

Commit 0568008

Browse files
Update style.css
1 parent 46cf564 commit 0568008

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

style.css

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,13 @@ body {
6363

6464
.match-title {
6565
font-weight: 600;
66-
margin-bottom: 0.75rem;
66+
margin: 0 0 0.75rem 0;
6767
padding: 0 0.5rem;
68-
white-space: normal;
69-
overflow-wrap: break-word;
70-
line-height: 1.2;
71-
height: 2.4em; /* exactly 2 lines of space */
72-
display: flex;
73-
align-items: center; /* vertically center 1-line titles */
68+
height: 2.6em; /* fixed height for 2 lines */
69+
line-height: 1.3em; /* line spacing */
70+
overflow: hidden;
7471
text-align: center;
72+
white-space: normal;
7573
}
7674

7775

0 commit comments

Comments
 (0)