Skip to content

Commit

Permalink
Merge pull request #5270 from owncloud/15062021_center-mediaviewer-lo…
Browse files Browse the repository at this point in the history
…adingspinner

Vertically center mediaviewer loadingspinner
  • Loading branch information
kulmann authored Jun 15, 2021
2 parents 884d36f + cf73b56 commit 7558e34
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions changelog/unreleased/bugfix-center-mediaviewer-loadingspinner
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Bugfix: Center MediaViewer loading spinner

The loading spinner in the media viewer app wasn't centered vertically since the
wrapping element was to small. It has now been given a min-height of the current
screen size.

https://github.com/owncloud/web/pull/5270
https://github.com/owncloud/web/issues/5196
3 changes: 3 additions & 0 deletions packages/web-app-media-viewer/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,9 @@ export default {
</script>

<style scoped>
#mediaviewer {
min-height: 100vh;
}
.media-viewer-player {
width: 100%;
max-width: 90vw;
Expand Down

0 comments on commit 7558e34

Please sign in to comment.