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

[Vertical layout] Remove data-bs-theme from header #180

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

cavasinf
Copy link
Collaborator

Description

This fixes code/logic that is not in Tabler today.
See <header> at https://preview.tabler.io/layout-combo.html

It ends up as a bug when you want to redefine the primary color:

As it is today:
image


How it should be (as Tabler demo):
image

Works as expected in mobile view:
image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I updated the documentation (see here)
  • I agree that this code will be published under the MIT license

@cavasinf cavasinf added Bug Something isn't working Status: Needs Review Not under investigation labels Nov 20, 2023
@cavasinf
Copy link
Collaborator Author

Is this considered as a BC break? 🤔

@cavasinf cavasinf changed the title [Vertical layout] Remove data-bs from header [Vertical layout] Remove data-bs-theme from header Nov 20, 2023
@kevinpapst
Copy link
Owner

My app uses default colors and dark/light switch.
Removing the attribute doesn't change anything here.
And if it fixes a bug, I doubt that this is a BC break.

Did you check horizontal?
The tabler demo doesn't have it there as well, but our horizontal theme still has it:
https://github.com/kevinpapst/TablerBundle/blob/main/templates/layout-horizontal.html.twig#L30

@cavasinf
Copy link
Collaborator Author

Did you check horizontal? The tabler demo doesn't have it there as well, but our horizontal theme still has it: https://github.com/kevinpapst/TablerBundle/blob/main/templates/layout-horizontal.html.twig#L30

Yeah, and Overlap mode needs that: https://preview.tabler.io/layout-navbar-overlap.html

@kevinpapst
Copy link
Owner

kevinpapst commented Nov 20, 2023

and Overlap mode needs that

Oh wow, how annoying 😁

Do you need a new minor release?

@kevinpapst kevinpapst merged commit d0f3d23 into main Nov 20, 2023
2 checks passed
@kevinpapst kevinpapst deleted the cavasinf-layout-vertical branch November 20, 2023 11:36
@kevinpapst
Copy link
Owner

Thanks @cavasinf 👍

@cavasinf cavasinf added Status: Reviewed Has staff reply/investigation and removed Status: Needs Review Not under investigation labels Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Status: Reviewed Has staff reply/investigation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants