[4.0] Updated switcher.php layout and its corresponding scss files#32377
Merged
infograf768 merged 3 commits intojoomla:4.0-devfrom Feb 11, 2021
thednp:patch-5
Merged
[4.0] Updated switcher.php layout and its corresponding scss files#32377infograf768 merged 3 commits intojoomla:4.0-devfrom thednp:patch-5
infograf768 merged 3 commits intojoomla:4.0-devfrom
thednp:patch-5
Conversation
Contributor
|
If you are removing the classes from the template css then you should also remove the reference to them in the php markup. For reference the class was not invented for fun as it did serve a purpose when the code was originally committed by me at #24463. The code was made useless by changes in #27684 which was when it should have been removed |
Contributor
Author
|
@brianteeman roger, also updated. Thanks man. |
Contributor
|
I have tested this item ✅ successfully on d573b80 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32377. |
1 similar comment
Member
|
I have tested this item ✅ successfully on d573b80 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32377. |
Member
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32377. |
Member
|
Tks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
Since the
<legend>added to the switch field type is set to usevisually-hiddenclass, with the self explanatory function, all the additional styling is redundant, hence we clean it up.Pull Request for Issue #32367 (comment) .
Testing Instructions
Simplest way to test:
System-Site Template Styles-CassiopeiaAdvancedtab and inspect the<legend>element of the setting calledLayout.switcher__legendclass should have no style before merging the [4.0] Update buttons.php layout to latest Bootstrap 5 markup, also added LEGEND markup #32367 into the 4.0 branchActual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
No visual or functional change is expected since the target element uses the
.visually-hiddenclassDocumentation Changes Required
No