fixed table css

This commit is contained in:
yoannchb-pro
2024-03-21 19:57:38 -04:00
parent 32370b8bbc
commit bda60ce813
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -70,23 +70,23 @@ img {
height: 5rem;
}
table {
.style-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
th,
td {
.style-table th,
.style-table td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
th {
.style-table th {
background-color: #f2f2f2;
}
tr:nth-child(even) {
.style-table tr:nth-child(even) {
background-color: #f2f2f2;
}
+1 -1
View File
@@ -273,7 +273,7 @@
<section class="formulation">
<div class="qtext">
<p>Give me the id of the personn who have a car</p>
<table>
<table class="style-table">
<thead>
<tr>
<th>id</th>