Fix table layout

This commit is contained in:
kolaente 2021-01-27 21:09:52 +01:00
parent 003298370e
commit 026a12009c
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
7 changed files with 22 additions and 22 deletions

View File

@ -22,7 +22,7 @@
</div>
</div>
<table
class="table is-striped is-hoverable is-fullwidth link-share-list"
class="table has-actions is-striped is-hoverable is-fullwidth link-share-list"
v-if="linkShares.length > 0"
>
<thead>

View File

@ -22,7 +22,7 @@
</div>
</div>
<table class="table is-striped is-hoverable is-fullwidth" v-if="sharables.length > 0">
<table class="table has-actions is-striped is-hoverable is-fullwidth mb-4" v-if="sharables.length > 0">
<tbody>
<tr :key="s.id" v-for="s in sharables">
<template v-if="shareType === 'user'">

View File

@ -8,24 +8,6 @@
.content {
padding: 0;
}
.table {
border-top: 1px solid $grey-100;
border-radius: 4px;
overflow: hidden;
td {
vertical-align: middle;
}
td.type, td.actions {
width: 250px;
}
td.actions {
text-align: right;
}
}
}
.task-add {

View File

@ -64,3 +64,17 @@
.underline-none {
text-decoration: none !important;
}
.table.has-actions {
border-top: 1px solid $grey-100;
border-radius: 4px;
overflow: hidden;
td {
vertical-align: middle;
}
td.actions {
text-align: right;
}
}

View File

@ -39,6 +39,10 @@
margin-left: 0 !important;
}
.field.has-addons .select select {
margin-right: 0;
}
.input,
.textarea {
transition: all $transition;

View File

@ -42,7 +42,7 @@
</div>
<card :padding="false" :has-content="false">
<table class="table is-hoverable is-fullwidth mb-0">
<table class="table has-actions is-hoverable is-fullwidth mb-0">
<thead>
<tr>
<th v-if="activeColumns.id">

View File

@ -88,7 +88,7 @@
</div>
</div>
</div>
<table class="table is-striped is-hoverable is-fullwidth">
<table class="table has-actions is-striped is-hoverable is-fullwidth">
<tbody>
<tr :key="m.id" v-for="m in team.members">
<td>{{ m.getDisplayName() }}</td>