mirror of
https://github.com/1f349/admin.1f349.com.git
synced 2024-11-09 22:32:57 +00:00
Mess with table widths
This commit is contained in:
parent
a683aea5fb
commit
3d12a4dda3
@ -95,7 +95,8 @@
|
|||||||
{@const domain = site.domain.replace(/[^0-9a-z-]/gi, "-")}
|
{@const domain = site.domain.replace(/[^0-9a-z-]/gi, "-")}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="https://{site.domain}" target="_blank">{site.domain}</a></td>
|
<td><a href="https://{site.domain}" target="_blank">{site.domain}</a></td>
|
||||||
<td class="branch-cell">
|
<td>
|
||||||
|
<div class="branch-cell">
|
||||||
{#each site.branches as branch}
|
{#each site.branches as branch}
|
||||||
{#if branch == ""}
|
{#if branch == ""}
|
||||||
<div><a href="https://{domain}_main.sites.1f349.com" target="_blank" class="main-or-master">main or master</a></div>
|
<div><a href="https://{domain}_main.sites.1f349.com" target="_blank" class="main-or-master">main or master</a></div>
|
||||||
@ -104,6 +105,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<div><button on:click={() => deleteBranch(site, branch)}>Delete Branch</button></div>
|
<div><button on:click={() => deleteBranch(site, branch)}>Delete Branch</button></div>
|
||||||
{/each}
|
{/each}
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td><button on:click={() => resetSiteSecret(site)}>Reset Secret</button></td>
|
<td><button on:click={() => resetSiteSecret(site)}>Reset Secret</button></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -120,6 +122,13 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
.main-table {
|
||||||
|
th,
|
||||||
|
td {
|
||||||
|
width: 1%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.branch-cell {
|
.branch-cell {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(2, auto);
|
grid-template-columns: repeat(2, auto);
|
||||||
|
Loading…
Reference in New Issue
Block a user