File tree 5 files changed +19
-9
lines changed
5 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <nav >
2
+ <nav class = " shadow-xl " >
3
3
<button
4
4
data-cy =" home"
5
5
:class =" [route.path !== '/' ? 'visible' : 'invisible']"
Original file line number Diff line number Diff line change 30
30
<!-- BOARD DETAIL -->
31
31
<div
32
32
v-if =" !state.loading && !state.loadingError.show"
33
- class =" overflow-x-auto min-h-screen whitespace-nowrap"
33
+ class =" overflow-x-auto whitespace-nowrap board-detail "
34
34
data-cy =" board-detail"
35
35
>
36
36
<div class =" py-2.5" >
75
75
>
76
76
<template #item =" { element } " >
77
77
<div
78
- class =" inline-block h-full align-top"
78
+ class =" inline-block align-top"
79
79
data-cy =" list-placeholder"
80
80
>
81
81
<ListItem :list =" element" />
82
82
</div >
83
83
</template >
84
84
</draggable >
85
- <div class =" inline-block h-full align-top" >
85
+ <div class =" inline-block align-top" >
86
86
<ListCreate :board =" state.board.id" />
87
87
</div >
88
88
</div >
@@ -113,6 +113,10 @@ const onClickAway = () => {
113
113
</script >
114
114
115
115
<style lang="postcss" scoped>
116
+ .board-detail {
117
+ height : calc (100 vh - 40 px );
118
+ }
119
+
116
120
.board-title:focus {
117
121
@apply bg-gray1 bg-opacity-100 hover :bg-opacity-100 text-black;
118
122
}
Original file line number Diff line number Diff line change 6
6
>
7
7
<div
8
8
class =" board"
9
+ :id =" 'board-' + board.id"
9
10
data-cy =" board-item"
10
11
@click =" navigate"
11
12
@mouseover =" showStar = true"
12
13
@mouseout =" showStar = false"
13
14
>
14
- <h1 >
15
+ <h2 >
15
16
{{ board.name }}
16
- </h1 >
17
+ </h2 >
17
18
<div
18
19
v-show =" showStar"
19
20
data-cy =" star"
@@ -53,7 +54,7 @@ let showStar = ref(false);
53
54
.star {
54
55
@apply justify-self-end self-start;
55
56
}
56
- h1 {
57
+ h2 {
57
58
@apply text-white font-bold col-span-5;
58
59
}
59
60
</style >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div
3
- class =" grid h-screen bg-white background"
3
+ class =" grid h-screen bg-white background board-list "
4
4
data-cy =" board-list"
5
5
>
6
6
<!-- LOADING -->
@@ -60,3 +60,8 @@ import Loading from '@/components/Loading.vue';
60
60
const state = useStore ();
61
61
state .getBoardList ();
62
62
</script >
63
+ <style lang="postcss" scoped>
64
+ .board-list {
65
+ height : calc (100 vh - 40 px );
66
+ }
67
+ </style >
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" h-screen bg-blue6" >
2
+ <div class =" bg-blue6" >
3
3
<CardDetail v-if =" cardModule" />
4
4
<BoardDetail />
5
5
</div >
You can’t perform that action at this time.
0 commit comments