Skip to content

Commit

Permalink
fix: icon fade in
Browse files Browse the repository at this point in the history
  • Loading branch information
ludchieng committed Jan 24, 2023
1 parent 5b9522f commit 7d1001d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/LineIcon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:src="`/img/lines-icons/${color}/${lineSlugName}.svg`"
:alt="`${lineSlugName}`"
:size="size"
:fadeIn="fadeIn"
/>
</template>

Expand Down
5 changes: 5 additions & 0 deletions src/components/design/DesignIcon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ export default Vue.extend({
</script>

<style scoped>
img {
/* Prevents alt text to display on image load */
color: transparent;
}
.size-sm {
width: 1.35rem;
height: 1.35rem;
Expand Down

0 comments on commit 7d1001d

Please sign in to comment.