Skip to content
Commit 7c7ef191 authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Center the empty content in the tab instead of just adding a margin



Since nextcloud-vue 2.0.0 the server styling is not used for the
sidebar. Therefore the reduced top margin (10vh) for empty contents in
"#app-sidebar" is no longer applied. As the default top margin is used,
which is designed for the main view and thus is quite large (30vh), the
empty content in the chat tab appears very low. Moreover, no sidebar is
shown if the window height is small, so the button to join the
conversation may not be reachable. Instead now the empty content is
centered in the tab contents using a flex display, which also causes a
sidebar to be shown if there is not enough available space to show the
contents.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent cc47936c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment