Skip to content

Commit

Permalink
refactor: move css style to component template
Browse files Browse the repository at this point in the history
  • Loading branch information
AlitaBernachot committed Oct 19, 2023
1 parent 9615919 commit 94d1523
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions src/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -285,14 +285,6 @@
.lux-time-datepicker {
@apply border-[#767676] border-[1px] pl-1;
}

.lux-attribution {
@apply absolute bottom-0 z-10 text-[0.8em];
background: rgba(255, 255, 255, 0.7);
padding-left: 4px;
padding-right: 4px;
color: #6b818f;
}
}

.fa-solid {
Expand Down
2 changes: 1 addition & 1 deletion src/components/map-controls/attribution-control.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ watchEffect(() => {

<template>
<div
class="lux-attribution"
class="absolute bottom-0 z-10 text-[0.8em] px-[4px] text-[#6b818f] bg-[#ffffffb3]"
v-if="attribution"
v-dompurify-html="attribution"
></div>
Expand Down

0 comments on commit 94d1523

Please sign in to comment.