summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-07-05 16:26:45 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-07-05 16:49:44 +0200
commit7f8a390b60003adcf7ec89c3fbf86c3e98134cce (patch)
tree546086e72ab130e6d0760f84f56999e6a2ea4364 /apps/files
parent19e2aaa5b4f949166a1054bc8a2533cdb8028195 (diff)
downloadnextcloud-server-7f8a390b60003adcf7ec89c3fbf86c3e98134cce.tar.gz
nextcloud-server-7f8a390b60003adcf7ec89c3fbf86c3e98134cce.zip
fix(files): show a border around the favorite icon for better contrast
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/src/components/FilesListVirtual.vue7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/files/src/components/FilesListVirtual.vue b/apps/files/src/components/FilesListVirtual.vue
index 6484721cfb6..c1d5c041992 100644
--- a/apps/files/src/components/FilesListVirtual.vue
+++ b/apps/files/src/components/FilesListVirtual.vue
@@ -287,6 +287,13 @@ export default Vue.extend({
top: 4px;
right: -8px;
color: #a08b00;
+ // Sow a border around the icon for better contrast
+ svg path {
+ stroke: var(--color-main-background);
+ stroke-width: 10px;
+ stroke-linejoin: round;
+ paint-order: stroke
+ }
}
}