Skip to content

Update _table.scss so sort-icon spans don't change width#99

Open
mghoffmann-regions wants to merge 1 commit intomuziehdesign:developfrom
mghoffmann-regions:bugfix/sort-icon-sizing
Open

Update _table.scss so sort-icon spans don't change width#99
mghoffmann-regions wants to merge 1 commit intomuziehdesign:developfrom
mghoffmann-regions:bugfix/sort-icon-sizing

Conversation

@mghoffmann-regions
Copy link
Copy Markdown

The mzSortKey directive adds spans classed as sort-icon to table column headers, for up/down arrows to indicate sorting.

These spans change the width of the column headers if the .sort-ascending and .sort-descending selectors apply, causing the table to resize whenever a different sort column is changed.

This should keep sortable headers the same size even when the sort arrows are not rendered in them.

The `mzSortKey` directive adds spans classed sort-icon for up/down arrows to table column headers to indicate sorting.

These spans change the width of the column headers if the .sort-ascending and .sort-descending selectors apply, causing the table to resize whenever a different sort column is changed.

This should keep sortable headers the same size even when the sort arrows are not rendered in them.

Signed-off-by: mghoffmann-regions <michael.hoffmann2@regions.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant