Skip to content

Commit 3621bc5

Browse files
committed
🐛 [fix] scrollbar로 인한 레이아웃 망가짐 수정
1 parent 3212853 commit 3621bc5

File tree

15 files changed

+17
-18
lines changed

15 files changed

+17
-18
lines changed

src/assets/styles.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ body {
9999
@apply flex justify-center items-center w-full h-8 px-2 border-b border-border-1 relative text-xs cursor-pointer;
100100
}
101101
.filter-dropdown-option-list {
102-
@apply w-full max-h-[160px] overflow-y-scroll absolute left-0 top-[calc(100%+8px)] shadow-custom p-2 flex flex-col gap-2 rounded bg-white cursor-auto;
102+
@apply w-full max-h-[160px] overflow-y-auto scrollbar-hide absolute left-0 top-[calc(100%+8px)] shadow-custom p-2 flex flex-col gap-2 rounded bg-white cursor-auto;
103103
}
104104
.filter-dropdown-option {
105105
@apply text-xs p-2 rounded text-center cursor-pointer;
@@ -117,7 +117,7 @@ body {
117117
@apply flex w-full h-11 items-center rounded p-4 bg-white border border-border-1 cursor-pointer;
118118
}
119119
.request-task-dropdown-option-list {
120-
@apply absolute w-full h-40 overflow-y-auto top-[52px] flex flex-col gap-2 p-2 bg-white rounded z-10 shadow-custom;
120+
@apply absolute w-full h-40 overflow-y-auto scrollbar-hide top-[52px] flex flex-col gap-2 p-2 bg-white rounded z-10 shadow-custom;
121121
}
122122
.request-task-dropdown-option {
123123
@apply w-full flex items-center h-11 p-2 rounded hover:bg-background-2 cursor-pointer;
@@ -140,7 +140,7 @@ body {
140140
@apply flex w-full h-10 items-center text-sm rounded pl-4 pr-3 bg-white border border-border-1 cursor-pointer;
141141
}
142142
.task-detail-dropdown-option-list {
143-
@apply absolute w-full h-40 overflow-y-auto top-11 flex flex-col gap-2 p-2 bg-white rounded z-10 shadow border-t border-t-border-2;
143+
@apply absolute w-full h-40 overflow-y-auto scrollbar-hide top-11 flex flex-col gap-2 p-2 bg-white rounded z-10 shadow border-t border-t-border-2;
144144
}
145145
.task-detail-dropdown-option {
146146
@apply w-full flex items-center h-10 p-2 rounded hover:bg-background-2 cursor-pointer;

src/components/lists/ListContainer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="w-full flex flex-col grow overflow-hidden">
44
<slot name="listBar" />
55

6-
<div class="grow overflow-y-auto">
6+
<div class="grow overflow-y-auto scrollbar-hide">
77
<slot name="listCards" />
88
</div>
99
</div>

src/components/request-approve/LabelDropdown.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</div>
1717
<div
1818
v-if="dropdownOpen"
19-
class="absolute w-full h-40 overflow-y-auto top-[52px] flex flex-col gap-2 p-2 bg-white rounded z-10 shadow border-t border-t-border-2">
19+
class="absolute w-full h-40 overflow-y-auto scrollbar-hide top-[52px] flex flex-col gap-2 p-2 bg-white rounded z-10 shadow border-t border-t-border-2">
2020
<div
2121
v-for="option in labelArr"
2222
:key="option.labelId"

src/components/request-task/CategoryDropDown.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</div>
3030
<div
3131
v-if="dropdownOpen"
32-
class="absolute w-full max-h-40 overflow-y-auto top-[52px] flex flex-col gap-2 p-2 bg-white rounded z-10 shadow border-t border-t-border-2">
32+
class="absolute w-full max-h-40 overflow-y-auto scrollbar-hide top-[52px] flex flex-col gap-2 p-2 bg-white rounded z-10 shadow border-t border-t-border-2">
3333
<div
3434
v-for="option in options"
3535
:key="'subCategoryId' in option ? option.subCategoryId : option.mainCategoryId"

src/components/request-task/RequestTaskDropdown.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</div>
2222
<div
2323
v-if="dropdownOpen"
24-
class="absolute w-full h-40 overflow-y-auto top-[52px] flex flex-col gap-2 p-2 bg-white rounded z-10 shadow border-t border-t-border-2">
24+
class="absolute w-full h-40 overflow-y-auto scrollbar-hide top-[52px] flex flex-col gap-2 p-2 bg-white rounded z-10 shadow border-t border-t-border-2">
2525
<div
2626
v-for="option in options"
2727
:key="option"

src/components/request-task/RequestTaskFileInputAfter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</div>
1313
<div
1414
v-if="files && files.length > 0"
15-
class="flex flex-col h-[102px] overflow-hidden overflow-y-auto">
15+
class="flex flex-col h-[102px] overflow-hidden overflow-y-auto scrollbar-hide">
1616
<div
1717
v-for="(file, index) in files"
1818
:key="file.name"

src/components/task-management/CategoryManagement.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<p>2차 카테고리</p>
1313
</div>
1414
</div>
15-
<div class="flex flex-col w-full grow overflow-y-auto">
15+
<div class="flex flex-col w-full grow overflow-y-auto scrollbar-hide">
1616
<div class="flex">
1717
<CategoryLine :categories="data || []" />
1818
<div class="bg-border-1 w-0.5"></div>

src/components/task-management/LabelManagement.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p>구분명</p>
88
</div>
99
</div>
10-
<div class="flex flex-col w-full grow overflow-y-auto pb-32">
10+
<div class="flex flex-col w-full grow overflow-y-auto scrollbar-hide pb-32">
1111
<LabelManagementLine
1212
:label-data="labelData"
1313
@updateLabels="fetchLabels" />

src/components/team-board/CurrentTaskRatio.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
</div>
1515
<span class="text-xs font-semibold text-primary1">총 {{ teamSummary.totalTasks }}건</span>
1616
</div>
17-
<div
18-
class="w-full h-[360px] rounded-lg bg-primary2 shadow-custom overflow-y-scroll items-center p-6 gap-4">
17+
<div class="w-full h-[360px] rounded-lg bg-primary2 shadow-custom items-center p-6 gap-4">
1918
<PieChart
2019
:key="chartLabels.length || 0"
2120
:labels="chartLabels"

src/components/team-board/TeamBoard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="grow overflow-y-scroll p-6">
2+
<div class="grow overflow-y-auto scrollbar-hide p-6">
33
<div class="grid grid-cols-3 gap-12">
44
<CurrentTaskRatio
55
:team-summary="teamSummary"

0 commit comments

Comments
 (0)