rill
rill copied to clipboard
Align pivot table text left
Fixes APP-575
Ensures that wrapped text for Measures, Dimensions, and Time chips in the pivot table sidebar is left-aligned. Previously, these chips were center-aligned, leading to an awkward appearance when text wrapped.
This is achieved by:
- Setting
fullWidthtotruefor chips in the "Time", "Measures", and "Dimensions" zones within theDragList.svelte. - Updating the
Chip.sveltestyles to applyjustify-startandtext-leftfor any chip with thefullWidthclass.
Checklist:
- [ ] Covered by tests
- [ ] Ran it and it works as intended
- [ ] Reviewed the diff before requesting a review
- [ ] Checked for unhandled edge cases
- [ ] Linked the issues it closes
- [ ] Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
- [ ] Intend to cherry-pick into the release branch
- [ ] I'm proud of this work!
Linear Issue: APP-575