Skip to content

Commit

Permalink
Merge pull request #536 from wmde/fix-scoped-style
Browse files Browse the repository at this point in the history
Cleanup "scoped" modifiers and h2 styling
  • Loading branch information
moiikana authored Oct 23, 2024
2 parents b473eea + 346da72 commit ed8c06f
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,3 @@ const onCountryFieldChanged = ( country: Country | undefined ) => {
};
</script>

<style scoped lang="scss">
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,3 @@ const onCountryFieldChanged = ( country: Country | undefined ) => {
};
</script>

<style scoped lang="scss">
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,3 @@ export default {
},
};
</script>

<style scoped>
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,3 @@ export default {
},
};
</script>

<style scoped>
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,3 @@ export default {
},
};
</script>

<style scoped>
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,3 @@ export default {
},
};
</script>

<style scoped>
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,3 @@ export default {
},
};
</script>

<style scoped>
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,3 @@ export default {
},
};
</script>

<style scoped>
</style>
2 changes: 1 addition & 1 deletion src/components/shared/ButtonLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defineEmits( [ 'click' ] );
</script>

<style scoped lang="scss">
<style lang="scss">
@use '@src/scss/settings/colors';
.button-link {
Expand Down
22 changes: 11 additions & 11 deletions src/components/shared/IbanFields.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<ScrollTarget target-id="iban-calculator-scroll-target"/>

<div class="iban-calculator-content">
<h2 class="icon-title">
<h3 class="icon-title">
<BankIcon/> {{ $t( 'donation_form_iban_calculator_title' ) }}
</h2>
</h3>

<button class="iban-calculator-close" @click.prevent="showCalculator = false" aria-controls="iban-calculator">
<span class="is-sr-only">{{ $t( 'close' ) }}</span>
Expand Down Expand Up @@ -375,17 +375,17 @@ watch( () => store.state.bankdata.values.iban, ( newIban: string ) => {
}
}
}
}
h2.icon-title {
padding: map.get(units.$spacing, 'small') 0 0 1.5rem;
margin: 0 map.get(units.$spacing, 'small');
font-size: 18px;
line-height: 25px;
.icon-title {
padding: map.get(units.$spacing, 'small') 0 0 1.5rem;
margin: 0 map.get(units.$spacing, 'small');
font-size: 18px;
line-height: 25px;
svg {
float: left;
margin: 4px 0 0 -1.5rem;
svg {
float: left;
margin: 4px 0 0 -1.5rem;
}
}
}
Expand Down

0 comments on commit ed8c06f

Please sign in to comment.