Skip to content

Commit 6a5fbcc

Browse files
authored
fix styling table
1 parent 5ebf5d0 commit 6a5fbcc

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

style.css

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ td a {
1313
table {
1414
border: 1px solid !important;
1515
margin: 0px 0px 5px 0px !important;
16+
font-size: 12px;
17+
border-collapse: collapse;
18+
width: 380px;
1619
}
1720
td {
1821
border: 1px solid;
@@ -24,19 +27,13 @@ td {
2427
.down {
2528
color: #ff0000;
2629
}
27-
table {
28-
font-family: Arial, Helvetica, sans-serif;
29-
font-size: 12px;
30-
border-collapse: collapse;
31-
width: 30%; /* Memastikan tabel penuh */
32-
}
3330

3431
td {
35-
border: 1px solid #000; /* Tambah border untuk visualisasi */
32+
border: 1px solid #000;
3633
padding: 10px;
3734
text-align: center;
38-
width: 33%; /* Setiap kolom mengambil 1/3 dari lebar */
39-
white-space: nowrap; /* Mencegah teks pecah */
35+
width: 33%;
36+
white-space: nowrap;
4037
}
4138

4239
.header {

0 commit comments

Comments
 (0)