uk-table removed, uk margin styles add to global
This commit is contained in:
parent
fbc14e4326
commit
fa93097192
|
@ -63,7 +63,7 @@
|
|||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<table class="uk-table">
|
||||
<table class="bb-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="edit-header">
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
<table class="uk-table">
|
||||
<table class="bb-table">
|
||||
<thead>
|
||||
<tr>
|
||||
{#each columns as header}
|
||||
|
|
|
@ -96,6 +96,8 @@ textarea {
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Top bottom spacing */
|
||||
|
||||
.bb-margin-m {
|
||||
margin-bottom: var(--spacing-m);
|
||||
}
|
||||
|
@ -109,4 +111,30 @@ 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; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue