fixed table css
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user