Skip to content

Commit

Permalink
fix(styles): fixed table styles in SIG members (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
powerfooI authored Aug 6, 2024
1 parent 6c69748 commit df8abba
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,20 +74,25 @@

/* css/custom.css */
.team-members-table {
width: 100%;
border-collapse: collapse;
margin-top: 2rem;
overflow-x: auto; /* Add horizontal scroll for smaller screens */
font-family: 'Arial', sans-serif;
border: none;
display: inline-block;
}

.team-members-table table {
margin-bottom: 0;
}

.team-members-table,
.team-members-table th,
.team-members-table td {
border: 1px solid #ddd;
padding: 12px;
text-align: center;
transition: background-color 0.3s ease;
display: table-cell;
vertical-align: middle;
}

.team-members-table th {
Expand Down Expand Up @@ -192,18 +197,6 @@
animation: fadeIn 1s ease;
}

/* Adjust table layout to fill available space */
.team-members-table {
display: table;
width: 100%;
}

.team-members-table th,
.team-members-table td {
display: table-cell;
vertical-align: middle;
}

.team-members-table .avatar-column {
width: 10%; /* Adjust the width to fit the larger images */
}
Expand Down

0 comments on commit df8abba

Please sign in to comment.