Skip to content

Commit

Permalink
Vertically center mediaviewer loadingspinner
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter committed Jun 15, 2021
1 parent 884d36f commit cf73b56
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 cf73b56

Please sign in to comment.