Skip to content

Commit f706db4

Browse files
authored
added window class to ensure flexbox is working (#439)
1 parent e87c769 commit f706db4

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

client/routes/index.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default {
3939
</script>
4040

4141
<template>
42-
<section>
42+
<section class="window">
4343
<navigation-bar>
4444
<navigation-link
4545
:exact="true"
@@ -64,4 +64,10 @@ export default {
6464
</section>
6565
</template>
6666

67-
<style lang="stylus"></style>
67+
<style lang="stylus">
68+
.window {
69+
display: flex;
70+
flex-direction: column;
71+
height: 100%;
72+
}
73+
</style>

client/routes/news/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export default {
161161

162162
<style lang="stylus">
163163
section.news {
164-
height: 100%;
164+
flex: 1;
165165
166166
iframe {
167167
height: 100%

0 commit comments

Comments
 (0)