move table styles from global.css to budibase.css

This commit is contained in:
Victoria Sloan 2020-08-23 09:44:30 +01:00
parent 5dfed059a5
commit 450f4066ec
2 changed files with 28 additions and 28 deletions

View File

@ -127,4 +127,30 @@
align-items: center;
justify-content: center;
font-size: 20px;
}
}
/* Table styles */
.bb-table {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
margin-bottom: var(--spacing-xl);
}
* + .bb-table {
margin-top: var(--spacing-xl)
}
.bb-table th {
padding: var(--spacing-l) var(--spacing-m);
text-align: left;
vertical-align: bottom;
}
.bb-table td {
padding: var(--spacing-l) var(--spacing-m);
vertical-align: top;
}
.bb-table td > :last-child { margin-bottom: 0; }

View File

@ -111,30 +111,4 @@ textarea {
* + .bb-margin-xl {
margin-top: var(--spacing-xl);
}
/* Table styles */
.bb-table {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
margin-bottom: var(--spacing-xl);
}
* + .bb-table {
margin-top: var(--spacing-xl)
}
.bb-table th {
padding: var(--spacing-l) var(--spacing-m);
text-align: left;
vertical-align: bottom;
}
.bb-table td {
padding: var(--spacing-l) var(--spacing-m);
vertical-align: top;
}
.bb-table td > :last-child { margin-bottom: 0; }
}