Product-enhancements-and-validation-fixes
This commit is contained in:
@@ -268,48 +268,50 @@ h1 {
|
||||
}
|
||||
|
||||
/* Mobile Table - Stack on Small Screens */
|
||||
.table-responsive {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.table {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.table thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.table tbody,
|
||||
.table tbody tr,
|
||||
.table tbody td {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.table tbody tr {
|
||||
background: white;
|
||||
border: 1px solid var(--grey-200);
|
||||
border-radius: var(--radius-md);
|
||||
margin-bottom: var(--spacing-md);
|
||||
padding: var(--spacing-md);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.table tbody td {
|
||||
border: none;
|
||||
padding: var(--spacing-sm) 0;
|
||||
position: relative;
|
||||
padding-left: 40%;
|
||||
}
|
||||
|
||||
.table tbody td:before {
|
||||
content: attr(data-label) ": ";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 35%;
|
||||
font-weight: 600;
|
||||
color: var(--grey-600);
|
||||
@media (max-width: 768px) {
|
||||
.table-responsive {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.table {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.table thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.table tbody,
|
||||
.table tbody tr,
|
||||
.table tbody td {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.table tbody tr {
|
||||
background: white;
|
||||
border: 1px solid var(--grey-200);
|
||||
border-radius: var(--radius-md);
|
||||
margin-bottom: var(--spacing-md);
|
||||
padding: var(--spacing-md);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.table tbody td {
|
||||
border: none;
|
||||
padding: var(--spacing-sm) 0;
|
||||
position: relative;
|
||||
padding-left: 40%;
|
||||
}
|
||||
|
||||
.table tbody td:before {
|
||||
content: attr(data-label) ": ";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 35%;
|
||||
font-weight: 600;
|
||||
color: var(--grey-600);
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile Navigation */
|
||||
|
||||
Reference in New Issue
Block a user