Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaeda40a

Browse files
author
Filip Hric
committed
fix scrolling issues
1 parent7408d42 commitaeda40a

File tree

5 files changed

+19
-9
lines changed

5 files changed

+19
-9
lines changed

‎src/components/Navbar.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<nav>
2+
<navclass="shadow-xl">
33
<button
44
data-cy="home"
55
:class="[route.path !== '/' ? 'visible' : 'invisible']"

‎src/components/board/BoardDetail.vue‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<!-- BOARD DETAIL-->
3131
<div
3232
v-if="!state.loading && !state.loadingError.show"
33-
class="overflow-x-automin-h-screenwhitespace-nowrap"
33+
class="overflow-x-auto whitespace-nowrap board-detail"
3434
data-cy="board-detail"
3535
>
3636
<divclass="py-2.5">
@@ -75,14 +75,14 @@
7575
>
7676
<template #item="{element }">
7777
<div
78-
class="inline-blockh-fullalign-top"
78+
class="inline-block align-top"
7979
data-cy="list-placeholder"
8080
>
8181
<ListItem:list="element" />
8282
</div>
8383
</template>
8484
</draggable>
85-
<divclass="inline-blockh-fullalign-top">
85+
<divclass="inline-block align-top">
8686
<ListCreate:board="state.board.id" />
8787
</div>
8888
</div>
@@ -113,6 +113,10 @@ const onClickAway = () => {
113113
</script>
114114

115115
<style lang="postcss" scoped>
116+
.board-detail {
117+
height:calc(100vh -40px);
118+
}
119+
116120
.board-title:focus {
117121
@applybg-gray1 bg-opacity-100hover:bg-opacity-100 text-black;
118122
}

‎src/components/board/BoardItem.vue‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
>
77
<div
88
class="board"
9+
:id="'board-' + board.id"
910
data-cy="board-item"
1011
@click="navigate"
1112
@mouseover="showStar = true"
1213
@mouseout="showStar = false"
1314
>
14-
<h1>
15+
<h2>
1516
{{ board.name }}
16-
</h1>
17+
</h2>
1718
<div
1819
v-show="showStar"
1920
data-cy="star"
@@ -53,7 +54,7 @@ let showStar = ref(false);
5354
.star {
5455
@applyjustify-self-end self-start;
5556
}
56-
h1 {
57+
h2 {
5758
@applytext-white font-bold col-span-5;
5859
}
5960
</style>

‎src/components/boardList/BoardList.vue‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div
3-
class="grid h-screen bg-white background"
3+
class="grid h-screen bg-white background board-list"
44
data-cy="board-list"
55
>
66
<!-- LOADING-->
@@ -60,3 +60,8 @@ import Loading from '@/components/Loading.vue';
6060
const state=useStore();
6161
state.getBoardList();
6262
</script>
63+
<style lang="postcss" scoped>
64+
.board-list {
65+
height:calc(100vh -40px);
66+
}
67+
</style>

‎src/views/Board.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<divclass="h-screenbg-blue6">
2+
<divclass="bg-blue6">
33
<CardDetailv-if="cardModule" />
44
<BoardDetail />
55
</div>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp