Skip to content

Commit

Permalink
Merge pull request #1323 from nextcloud/fix/design-polishing
Browse files Browse the repository at this point in the history
fix: apply css variable --default-clickable-area
  • Loading branch information
juliushaertl committed Jul 15, 2024
2 parents dfe64be + 9276485 commit 1f466e3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/components/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ export default {
}
.note-item {
width: 44px;
height: 44px;
line-height: 44px;
width: var(--default-clickable-area);
height: var(--default-clickable-area);
line-height: var(--default-clickable-area);
flex-shrink: 0;
background-size: 50%;
background-repeat: no-repeat;
Expand Down
2 changes: 1 addition & 1 deletion src/components/NotePlain.vue
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ export default {
position: fixed;
top: 50px;
inset-inline-end: 20px;
width: 44px;
width: var(--default-clickable-area);
margin-top: 1em;
z-index: 2000;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/NoteRich.vue
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export default {
.is-mobile:deep(.text-menubar) {
// Avoid overlapping the navigation toggle
margin-inline-start: 44px;
margin-inline-start: var(--default-clickable-area);
z-index: 1;
}
</style>
2 changes: 1 addition & 1 deletion src/components/NotesCaption.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default {
font-weight: bold;
color: var(--color-primary-element);
font-size: var(--default-font-size);
line-height: 44px;
line-height: var(--default-clickable-area);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
Expand Down

0 comments on commit 1f466e3

Please sign in to comment.