Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
infra
ecloud
nextcloud-apps
calendar
Commits
1afb3920
Commit
1afb3920
authored
Apr 03, 2022
by
szaimen
Browse files
improve the trashbin layout
Signed-off-by:
szaimen
<
szaimen@e.mail.de
>
parent
e611f32a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/AppNavigation/CalendarList/Trashbin.vue
View file @
1afb3920
...
...
@@ -28,6 +28,7 @@
</
template
>
<
template
#extra
>
<Modal
v-if=
"showModal"
size=
"large"
@
close=
"showModal = false"
>
<div
class=
"modal__content"
>
<h2>
{{
t
(
'
calendar
'
,
'
Trash bin
'
)
}}
</h2>
...
...
@@ -67,7 +68,7 @@
</div>
<div>
<div>
{{
item
.
name
}}
</div>
<div
class=
"item-name"
>
{{
item
.
name
}}
</div>
<div
v-if=
"item.subline"
class=
"item-subline"
>
{{
item
.
subline
}}
</div>
...
...
@@ -77,7 +78,7 @@
<td
class=
"deletedAt"
>
<Moment
class=
"timestamp"
:timestamp=
"item.deletedAt"
/>
</td>
<td>
<td
class=
"item-actions"
>
<button
@
click=
"restore(item)"
>
{{
t
(
'
calendar
'
,
'
Restore
'
)
}}
</button>
...
...
@@ -308,19 +309,22 @@ th {
color
:
var
(
--
color-text-maxcontrast
)
}
.name
{
// Take remaining width to prevent whitespace on the right side
width
:
100vw
;
}
.item
{
display
:
flex
;
.item-name
{
white-space
:
normal
;
}
.item-subline
{
color
:
var
(
--
color-text-maxcontrast
)
}
}
.item-actions
{
text-align
:
right
;
}
.deletedAt
{
text-align
:
right
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment