1
0
Fork 0
mirror of synced 2024-07-05 06:20:55 +12:00

Merge pull request #554 from Budibase/replace-ui-kit-02

Removing uk-table and uk-margin
This commit is contained in:
Martin McKeaveney 2020-08-25 15:40:14 +01:00 committed by GitHub
commit c5b37e1630
4 changed files with 31 additions and 3 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

@ -63,7 +63,7 @@
{/if}
</div>
</div>
<table class="uk-table">
<table class="bb-table">
<thead>
<tr>
<th class="edit-header">

View file

@ -43,7 +43,7 @@
<slot />
</div>
</div>
<table class="uk-table">
<table class="bb-table">
<thead>
<tr>
{#each columns as header}

View file

@ -96,6 +96,8 @@ textarea {
cursor: pointer;
}
/* Top bottom spacing */
.bb-margin-m {
margin-bottom: var(--spacing-m);
}