Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Index view: table headings centered while switch is not #1

Closed
johnpuddephatt opened this issue Jan 17, 2023 · 2 comments
Closed

Index view: table headings centered while switch is not #1

johnpuddephatt opened this issue Jan 17, 2023 · 2 comments

Comments

@johnpuddephatt
Copy link

Screenshot 2023-01-17 at 11 00 52

I'm seeing the above in my index view while using this field.

My first thought was to left-align the table heading but I can't see how this is controlled.

The alternative would be to center the switch (e.g. by adding margin: 0 auto; to the styles for .switch). Happy to submit a PR for this but it might be that you prefer to left-align the table heading?

@trin4ik
Copy link
Owner

trin4ik commented Jan 20, 2023

@johnpuddephatt , ty for feedback.
i think, we need align column from standart properties (realize textAlign method https://nova.laravel.com/docs/4.0/resources/fields.html#field-text-alignment) + auto-align-center, if no labels on switchers.

trin4ik added a commit that referenced this issue Jan 21, 2023
- remove php7.3 support
@trin4ik trin4ik mentioned this issue Jan 21, 2023
@trin4ik
Copy link
Owner

trin4ik commented Jan 21, 2023

done

@trin4ik trin4ik closed this as completed Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants