Skip to content

Commit

Permalink
Minor UI improvements
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim von Eichborn <joachimeichborn@users.noreply.github.com>
  • Loading branch information
joachimeichborn committed Mar 30, 2022
1 parent 3859c00 commit 0eb4605
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/NotesCaption.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ export default {
.title {
color: var(--color-primary-light-text);
font-weight: bold;
font-size: 1.2em;
padding-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
Expand Down
8 changes: 7 additions & 1 deletion src/components/NotesView.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="notes-view" :class="{ collapsed: collapsed }">
<div class="header">
<Actions :class="{ flipped: collapsed }">
<Actions :class="{ flipped: collapsed }" id="shrinkButton">
<ActionButton @click="collapsed=!collapsed">
<ArrowLeftThickIcon slot="icon" :size="24" fill-color="var(--color-main-text)" />
{{ t('notes', 'Note is read-only. You cannot change it.') }}
Expand Down Expand Up @@ -229,4 +229,10 @@ export default {
vertical-align: top;
margin-right: 5px;
}
@media (min-width: 900px) {
#shrinkButton {
display: none;
}
}
</style>

0 comments on commit 0eb4605

Please sign in to comment.