diff --git a/changelog/unreleased/bugfix-add-explicit-size-to-space-header-image.md b/changelog/unreleased/bugfix-add-explicit-size-to-space-header-image.md new file mode 100644 index 00000000000..0ff06341f5b --- /dev/null +++ b/changelog/unreleased/bugfix-add-explicit-size-to-space-header-image.md @@ -0,0 +1,7 @@ +Bugfix: Add explicit size to space header image + +The space header image did not have explicit width and height causing the image to overflow its container. +Adding explicit width and height with values of 100% makes sure that the image stays within the boundaries of the container. + +https://github.com/owncloud/web/issues/13822 +https://github.com/owncloud/web/pull/13835 diff --git a/packages/web-app-files/src/components/Spaces/SpaceHeader.vue b/packages/web-app-files/src/components/Spaces/SpaceHeader.vue index b8c7221c332..b66b960f63e 100644 --- a/packages/web-app-files/src/components/Spaces/SpaceHeader.vue +++ b/packages/web-app-files/src/components/Spaces/SpaceHeader.vue @@ -300,6 +300,8 @@ const isMobileWidth = inject>('isMobileWidth') border: none; cursor: pointer; outline: none; + height: 100%; + width: 100%; } }