diff --git a/changelog/unreleased/bugfix-tiles-view-whitespace b/changelog/unreleased/bugfix-tiles-view-whitespace new file mode 100644 index 00000000000..75b7300dfd3 --- /dev/null +++ b/changelog/unreleased/bugfix-tiles-view-whitespace @@ -0,0 +1,8 @@ +Bugfix: Tilesview has whitespace + +We've fixed a bug that caused the tiles-view to have whitespace +on the right side of the screen which is not optimal for efficiant +space management. + +https://github.com/owncloud/web/pull/10118 +https://github.com/owncloud/web/issues/10040 diff --git a/docs/theming/_index.md b/docs/theming/_index.md index 0fdf291fcb5..bf9e1ed6c47 100644 --- a/docs/theming/_index.md +++ b/docs/theming/_index.md @@ -307,7 +307,9 @@ Size variables get prepended with `--oc-size-`, so e.g. _"icon-default"_ creates "icon-default": "", "max-height-logo": "", "max-width-logo": "", - "width-medium": "" + "width-medium": "", + "tiles-default": "", + "tiles-resize-step": "" } } ``` @@ -426,7 +428,9 @@ A full template for your custom theme is provided below, and you can use the ins "icon-default": "", "max-height-logo": "", "max-width-logo": "", - "width-medium": "" + "width-medium": "", + "tiles-default": "", + "tiles-resize-step": "" }, "spacing": { "xsmall": "", diff --git a/packages/design-system/src/tokens/ods/size.yaml b/packages/design-system/src/tokens/ods/size.yaml index 1ac18295e8a..b49008e5b00 100644 --- a/packages/design-system/src/tokens/ods/size.yaml +++ b/packages/design-system/src/tokens/ods/size.yaml @@ -24,6 +24,6 @@ size: value: 14px tiles: resize-step: - value: 12rem + value: 9rem default: - value: 14rem + value: 9rem diff --git a/packages/web-app-files/src/components/FilesList/ResourceTiles.vue b/packages/web-app-files/src/components/FilesList/ResourceTiles.vue index 32c5fb00c20..f5c281c7ee6 100644 --- a/packages/web-app-files/src/components/FilesList/ResourceTiles.vue +++ b/packages/web-app-files/src/components/FilesList/ResourceTiles.vue @@ -34,7 +34,7 @@ - +
  • +
  • +
    + {{ viewSize }} +
    +
  • @@ -96,21 +106,37 @@