Skip to content
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

Enhancement: Sidebar open/close classes #3855

Merged
merged 6 commits into from
Sep 5, 2022
Merged

Conversation

awcodes
Copy link
Contributor

@awcodes awcodes commented Sep 4, 2022

Adds classes to sidebar and filament main to allow css targeting of sidebar open/closed state

@awcodes awcodes added the enhancement New feature or request label Sep 4, 2022
@themahdavi
Copy link
Contributor

Why move custom classes to middle or end of classes list?
I think @zepfietje change orders of custom classes to first.

@awcodes
Copy link
Contributor Author

awcodes commented Sep 4, 2022

Weird. those shouldn't have changed. Let me see what happened.

Good catch.

@awcodes
Copy link
Contributor Author

awcodes commented Sep 4, 2022

Looks like there was an extension overriding the sort order. Latest push corrects the order.

@zepfietje
Copy link
Member

Why move custom classes to middle or end of classes list?
I think @zepfietje change orders of custom classes to first.

Thanks for noticing this! (Always nice to have an extra pair of eyes making sure the order stays correct in the codebase. 👀)

Copy link
Member

@zepfietje zepfietje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Filament CSS classes should be first in the class list and be prefixed with filament-. 🙂

awcodes and others added 2 commits September 4, 2022 16:52
…index.blade.php

Co-authored-by: Zep Fietje <hey@zepfietje.com>
@danharrin danharrin merged commit 7ee1cbf into 2.x Sep 5, 2022
@zepfietje zepfietje deleted the enhance/sidebar-state-classes branch September 5, 2022 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants