Skip to content

Commit

Permalink
Merge pull request #1696 from nextcloud/fix/noid/trashbin-deletedAt-a…
Browse files Browse the repository at this point in the history
…lignment

Right align deleted at column in trash bin
  • Loading branch information
raimund-schluessler authored Jul 18, 2021
2 parents 48f5e45 + f32982b commit 66086f7
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions src/components/AppNavigation/Trashbin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
<div class="table__header">
{{ t('tasks', 'Name') }}
</div>
<div class="table__header deletedAt">
<div class="table__header table__header--deletedAt">
{{ t('tasks', 'Deleted') }}
</div>
<div class="table__header">
&nbsp;
</div>
<template v-for="item in items" class="row">
<div :key="`${item.url}desc`">
<div :key="`${item.url}desc`" class="table__body">
<div
class="icon-bullet"
:style="{ 'background-color': item.color }" />
Expand All @@ -68,10 +68,10 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
</div>
</div>
</div>
<div :key="`${item.url}date`" class="deletedAt">
<div :key="`${item.url}date`" class="table__body table__body--deletedAt">
<Moment class="timestamp" :timestamp="item.deletedAt" />
</div>
<div :key="`${item.url}action`">
<div :key="`${item.url}action`" class="table__body">
<button @click="restore(item)">
{{ t('tasks','Restore') }}
</button>
Expand Down Expand Up @@ -284,6 +284,13 @@ export default {
z-index: 1;
}

&__header,
&__body {
&--deletedAt {
justify-content: right;
}
}

& > div {
display: flex;
align-items: center;
Expand All @@ -306,10 +313,6 @@ export default {
}
}

.deletedAt {
text-align: right;
}

.footer {
color: var(--color-text-lighter);
text-align: center;
Expand Down

0 comments on commit 66086f7

Please sign in to comment.