Skip to content

Commit

Permalink
Improve css file to wrap to width (h/t @htvoutsin)
Browse files Browse the repository at this point in the history
  • Loading branch information
frossie committed Dec 27, 2024
1 parent 7561d0c commit aabb0d1
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions _static/css/fe-table.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@

table.fe-table {
border: 1px solid #FFFFFF;
/* width: 350px; */
width: 100%;
max-width: 100% !important;
/* height: 200px; */
text-align: center;
border-collapse: collapse;
table-layout: fixed;

}
table.fe-table td, table.fe-table th {
border: 1px solid #cccccc;
padding: 3px 5px;
padding: 8px 10px;
text-align: left;
word-wrap: break-word;
white-space: normal !important;
overflow-wrap: break-word;
}
table.fe-table tbody td {
font-size: 13px;
Expand All @@ -17,7 +24,7 @@ td:nth-child(1) {
background: #0B6FA4;
color: #FFFFFF;
font-size: 17px;
text-align: center;
text-align: center;
}
table.fe-table tr:nth-child(even) {
background: #D0E4F5;
Expand All @@ -44,4 +51,4 @@ table.fe-table code {

table.fe-table tfoot td {
font-size: 14px;
}
}

0 comments on commit aabb0d1

Please sign in to comment.