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
Bug (dbc.Tab): active_label_style doesn't override label_style #944
Comments
I just saw that a new version has been released yesterday (1.4.0) |
Thanks for reporting. This was my fault 95c6779. We just need to swap the order of those lines (later ones override earlier ones) and ideally add a test to make sure I don't break it again. I'll be able to fix this in the next couple of days, but would also happily accept a pull request to move line 78 below line 80 and add a test in EDIT: for the avoidance of confusion, here are the relevant lines on |
Thanks for the quick response ! I see and i'll try making a pull request today |
I made the pull request : #946 |
Thanks for your contribution! I just published a new pre-release with these changes.
I'll publish a full release in the coming days. There's a couple of other issues I know about that I also need to fix, and since we just made a new release I will wait to see if any more bug reports come in also. |
#2.8.1
#1.3.1
What is happening?
When setting a different value on the same css property in
label_style
andactive_label_style
the value from
label_style
is always the one that is applied,Only properties from
active_label_style
that aren't set inlabel_style
are applied.Example :
What should be happening?
Normal behavior should be to have the style within
active_label_style
take priority overlabel_style
for active tabs.It works that way with
active_tab_style
andtab_style
.The text was updated successfully, but these errors were encountered: