File tree Expand file tree Collapse file tree 2 files changed +24
-16
lines changed Expand file tree Collapse file tree 2 files changed +24
-16
lines changed Original file line number Diff line number Diff line change 18
18
</template >
19
19
</v-app-bar >
20
20
<v-content class =" content" >
21
- <v-container class =" px-4 py-8" >
21
+ <v-container class =" classes-container px-4 py-8" >
22
22
<nuxt />
23
23
</v-container >
24
24
</v-content >
@@ -90,4 +90,7 @@ export default Vue.extend({
90
90
max-width : 640px ;
91
91
height : 40px ;
92
92
}
93
+ .classes-container {
94
+ height : 100% ;
95
+ }
93
96
</style >
Original file line number Diff line number Diff line change 3
3
<div v-if =" classData.getLessonsByDisplayDate.length" >
4
4
<period-card :class-data =" classData" />
5
5
</div >
6
- <v-row v-else-if =" today" class =" DataBlock " >
7
- <h1 style = " color : white ; width : 100 vw ; text-align : center ; " >
6
+ <div v-else-if =" today" class =" Classes-Outer " >
7
+ <h1 class = " Classes-Title " >
8
8
今日の時間割はまだ届いていないみたいです
9
9
</h1 >
10
- </v-row >
11
- <v-row v-else class =" DataBlock " >
12
- <h1 style = " color : white ; width : 100 vw ; text-align : center ; " >
10
+ </div >
11
+ <div v-else class =" Classes-Outer " >
12
+ <h1 class = " Classes-Title " >
13
13
{{ dateTitle }} の時間割はまだ届いていないみたいです
14
14
</h1 >
15
- </v-row >
15
+ </div >
16
16
</div >
17
17
</template >
18
18
@@ -55,14 +55,19 @@ export default Vue.extend({
55
55
56
56
<style lang="scss" scoped>
57
57
.MainPage {
58
- .Logo {
59
- text-align : center ;
60
- }
61
- .DataBlock {
62
- margin : 0 -12px ;
63
- .studycard {
64
- margin-bottom : 20px ;
65
- }
66
- }
58
+ display : flex ;
59
+ flex-direction : column ;
60
+ height : 100% ;
61
+ }
62
+ .Classes-Outer {
63
+ display : flex ;
64
+ align-items : center ;
65
+ justify-content : center ;
66
+ flex : 1 0 auto ;
67
+ }
68
+ .Classes-Title {
69
+ font-size : 21px ;
70
+ font-weight : normal ;
71
+ color : $color-white ;
67
72
}
68
73
</style >
You can’t perform that action at this time.
0 commit comments