Skip to content

Commit

Permalink
IONOS(nc-vue-icons): remove folder-{open}-icon size adjust
Browse files Browse the repository at this point in the history
font awesome folder icon is smaller then MDI


Signed-off-by: Tatjana Kaschperko Lindt <[email protected]>
  • Loading branch information
tanyaka committed Sep 30, 2024
1 parent 0ce8b2c commit aa1f044
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions apps/files/src/components/FilesListVirtual.vue
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,12 @@ export default defineComponent({
width: var(--icon-preview-size);
height: var(--icon-preview-size);
}
// Slightly decrease the size of the folder icon
&.folder-icon,
&.folder-open-icon svg {
width: calc(var(--icon-preview-size) - 6px);
height: calc(var(--icon-preview-size) - 6px);
}
}
&-preview {
Expand Down Expand Up @@ -752,6 +758,15 @@ tbody.files-list__tbody.files-list__tbody--grid {
// Visual balance, we use half of the clickable area
// as a margin around the preview
padding-top: var(--half-clickable-area);
& > span {
// Slightly decrease the size of the folder icon
&.folder-icon,
&.folder-open-icon svg {
width: calc(var(--icon-preview-size) - 20px);
height: calc(var(--icon-preview-size) - 20px);
}
}
}
a.files-list__row-name-link {
Expand Down

0 comments on commit aa1f044

Please sign in to comment.