Skip to content

Commit 8a39aa8

Browse files
committed
minor styling adjustments
1 parent 87d2ded commit 8a39aa8

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

src/components/FileUpload.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,12 @@ function addFiles(uploadedFiles: FileList) {
7474
7575
&:hover,
7676
&.drag-active {
77-
border-style: solid;
78-
border-width: 3px;
77+
border: 3px solid;
7978
}
8079
8180
.drop-title {
8281
font-weight: bold;
8382
text-align: center;
84-
transition: color 0.2s ease-in-out;
8583
}
8684
8785
input[type='file'] {
@@ -93,7 +91,6 @@ function addFiles(uploadedFiles: FileList) {
9391
9492
&::file-selector-button {
9593
padding: 10px 20px;
96-
transition: background-color 0.2s ease-in-out;
9794
}
9895
}
9996
}

src/css/style.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
.container {
22
margin-block-start: 1rem;
33
margin-block-end: 2rem;
4-
}
4+
}
5+
6+
body {
7+
scrollbar-gutter: stable;
8+
}
9+
10+
* {
11+
transition: background-color 0.3s;
12+
}

0 commit comments

Comments
 (0)