Skip to content

Commit

Permalink
🔧 remove double style tag
Browse files Browse the repository at this point in the history
  • Loading branch information
daiagi committed Apr 19, 2023
1 parent 33f5468 commit c45eb18
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions components/shared/DragDrop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
drag-drop
native
expanded
class="hover-color"
:accept="accept"
@input="onFileSelected">
<div class="has-text-centered is-flex is-justify-content-center p-5">
Expand Down Expand Up @@ -85,6 +86,8 @@ const onFileSelected = (file: File) => {
}
</script>
<style lang="scss" scoped>
@import '@/styles/abstracts/variables';
.icon-size {
font-size: 3.5rem;
}
Expand All @@ -96,12 +99,7 @@ const onFileSelected = (file: File) => {
.limit-width {
max-width: 25rem;
}
</style>

<style lang="scss">
@import '@/styles/abstracts/variables';
.o-upl__draggable--hovered {
.hover-color:deep .o-upl__draggable--hovered {
@include ktheme() {
background-color: theme('k-primaryLight');
}
Expand Down

0 comments on commit c45eb18

Please sign in to comment.