Skip to content

Commit

Permalink
πŸ’„ Add scoped attribute to HdButton styles (#797)
Browse files Browse the repository at this point in the history
  • Loading branch information
majakomel authored Aug 6, 2021
1 parent add98f2 commit f3a3ed8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/components/buttons/HdButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,10 @@ export default {
};
</script>

<style lang="scss">
<style lang="scss" scoped>
@import 'homeday-blocks/src/styles/_variables.scss';
.btn {
$root: &;
&--icon-button {
padding: $sp-s;
}
Expand All @@ -120,13 +118,13 @@ export default {
height: 24px;
margin-right: $sp-xs;
#{$root}--icon-button & {
.btn--icon-button & {
width: 28px;
height: 28px;
margin-right: 0;
}
path {
::v-deep path {
fill: currentColor;
}
}
Expand Down

0 comments on commit f3a3ed8

Please sign in to comment.