Skip to content

Commit e66291d

Browse files
authored
Merge pull request #280 from kota-yata/AdoptCSS
「クラスを登録してください」の文字にCSSを適用する
2 parents 454537c + bb29a80 commit e66291d

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

src/components/BottomSheetLayer.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export default Vue.extend({
7676
padding: 0 !important;
7777
}
7878
.Layer-FormContainer {
79+
height: 100%;
7980
padding: 0 !important;
8081
}
8182
.Layer-Container {

src/pages/user/classlist.vue

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<template>
22
<bottom-sheet-layer title="クラス一覧" title-en="CLASS LIST" fullscreen>
33
<template v-slot:LayerContents>
4-
<h1 v-if="!items || items.length < 1">
5-
{{ $t('pages.user_classlist.no_classes') }}
6-
</h1>
4+
<div v-if="!items || items.length < 1" class="noClass">
5+
<h1>
6+
{{ $t('pages.user_classlist.no_classes') }}
7+
</h1>
8+
</div>
79
<v-list v-else>
810
<v-radio-group v-model="selectedClassId">
911
<v-list-item
@@ -78,6 +80,17 @@ export default Vue.extend({
7880
</script>
7981

8082
<style lang="scss" scoped>
83+
.noClass {
84+
height: 100%;
85+
color: $color-white;
86+
display: flex;
87+
align-items: center;
88+
text-align: center;
89+
h1 {
90+
width: 100%;
91+
font-size: 21px;
92+
}
93+
}
8194
.ClassList-Item {
8295
&:nth-child(2n) {
8396
background-color: $color-back-gray;

0 commit comments

Comments
 (0)