1
0
Fork 0

feat(plugin-scalebox): Switched to utility classes for styling

This commit is contained in:
Joost De Cock 2021-12-24 14:49:05 +01:00
parent 443aff2941
commit ab0697e94c
2 changed files with 5 additions and 1 deletions

View file

@ -7,6 +7,10 @@
- Added (esm) unit tests
### Changed
- Add utility classes and CSS variables for better styling support
## 2.11.3 (2021-01-16)
### Added

View file

@ -97,7 +97,7 @@ export default function (so) {
this.points.__scaleboxText.attr('data-text', 'supportFreesewingBecomeAPatron')
this.points.__scaleboxLink = this.points.__scaleboxLink
.attr('data-text', 'freesewing.org/patrons/join')
.attr('data-text-class', 'text-xs fill-note')
.attr('data-text-class', 'text-sm fill-note')
}
this.points.__scaleboxText.attr('data-text-class', 'text-xs').attr('data-text-lineheight', 4)
// Instructions