-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[table] CSS refactor #425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[table] CSS refactor #425
Conversation
Should address issue #396
Coerce slide nodelist into an Array
Resync with master
Resync with master
Resync with master
Resync with master
When `b-table` had prop `small`, the arrows were not aligned top to bottom correctly (up to high). Also removed erroneous `.` from `table-responsive` class
lib/components/table.vue
Outdated
@@ -318,6 +320,29 @@ | |||
opacity: 0.3; | |||
} | |||
|
|||
table.table-sm thead .sorting:before, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we refactor it into a generalized prop selector? This is a LOT! :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I was thinking the same.
Maybe making asc/desc their own class, and maybe making disabled its own class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so have the following classes:
sorting
asc
desc
disabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can try and refactor before the merge.
Refactored CSS to reduce footprint Removed unused CSS
CSS has been refactored for much smaller footprint Hopefully it should work ;-) |
Nice +1 |
When
b-table
had propsmall
, the arrows were not aligned top to bottom correctly (up to high).Also removed erroneous
.
fromtable-responsive
class