Skip to content

Commit c9a3df0

Browse files
bunsenstraatAniket-Engg
authored andcommitted
css
1 parent a107f08 commit c9a3df0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

libs/remix-ui/desktop-download/lib/desktop-download.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@
77
}
88

99
.desktop-download.compact .btn {
10-
white-space: nowrap;
10+
white-space: normal; /* Allow text wrapping */
11+
text-align: center;
12+
line-height: 1.3;
13+
min-height: 2.5rem; /* Ensure consistent button height */
14+
display: flex;
15+
align-items: center;
16+
justify-content: center;
1117
}
1218

1319
.desktop-download.compact .text-muted {
@@ -39,6 +45,9 @@
3945
border-radius: 8px;
4046
font-weight: 500;
4147
transition: all 0.2s ease;
48+
white-space: normal; /* Allow text wrapping on all buttons */
49+
text-align: center;
50+
line-height: 1.3;
4251
}
4352

4453
.desktop-download .btn:hover {

0 commit comments

Comments
 (0)