Skip to content

Commit 7595a4e

Browse files
committed
🐛 [fix] ListCard의 높이가 늘어날 시 button-medium 높이 너무 커지는 것 방지
1 parent 254371f commit 7595a4e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/assets/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ body {
5151
}
5252

5353
.button-medium {
54-
@apply flex items-center justify-center rounded px-4 py-2 font-bold gap-1 text-xs cursor-pointer shrink-0 h-full;
54+
@apply flex items-center justify-center rounded px-4 py-2 font-bold gap-1 text-xs cursor-pointer shrink-0 h-full max-h-[34px];
5555
}
5656
.button-medium-primary {
5757
@apply button-medium bg-primary1 text-white hover:bg-[#6869DE];

src/components/request-task/RequestTaskFileInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
<label
3030
for="file"
31-
class="button-medium-primary !h-fit">
31+
class="button-medium-primary">
3232
<CommonIcons :name="uploadIcon" />
3333
<p>파일 선택</p>
3434
</label>

src/utils/axios.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ const setInterceptors = (instance: AxiosInstance) => {
4444
response => response,
4545
async error => {
4646
const { setError } = useErrorStore()
47+
console.log(error)
4748
if (axios.isCancel(error)) {
4849
setError('요청이 취소되었습니다:', error.message)
4950
} else if (error.response) {

0 commit comments

Comments
 (0)