perf[css]: refine style

This commit is contained in:
Pan
2018-07-10 13:22:16 +08:00
parent 9b7a9a64e5
commit 6a5197ad51
2 changed files with 19 additions and 24 deletions

View File

@@ -24,12 +24,10 @@ export default {
<style scoped>
.app-main {
position: absolute;
top: 84px; /* navbar + tags-view = 50 +34 */
left: 0;
right: 0;
bottom: 0;
margin: auto;
/*84 = navbar + tags-view = 50 +34 */
min-height: calc(100vh - 84px);
position: relative;
overflow: hidden;
}
</style>