sidebar - fa fa-angle-left pull-right inside treeview broken after update from 2.3.3 to 2.3.5
See original GitHub issueFirstival - thank you for you work!
I use newest cdnjs version of AdminLTE css, same thing happen in 2.3.4 . It looks, like this part is missing
.sidebar-menu li > a > .pull-right {
margin-top: -7px;
position: absolute;
right: 10px;
top: 50%;
}
And here’s the screenshot:
I can’t track myself what has changed. Best regards!
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
fa fa-angle-left pull-right inside treeview broken after update ...
I use newest cdnjs version of AdminLTE css, same thing happen in 2.3.4 . It looks, like this part is missing .sidebar-menu li...
Read more >adminLTE 2.4.5 treeview not working properly after refresh ...
I'm using adminLTE 2.4.5 version in rails 5.2.2 version. All files I'm loading, all adminLTE assets from the vendor folder, all UI is...
Read more >AdminLTE 2 | Documentation
It is a responsive HTML template that is based on the CSS framework Bootstrap 3. It utilizes all of the Bootstrap components in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This can be solved by wrapping the icon in a
<span class="pull-right-container">
, and keepingpull-right
on the icon itself. Actually, I think this is the recommended solution since the examples are also modified like this.I have the same issue and, indeed there is a part missing. In a recent mergue request #1006 the
.pull-right
class was replaced by.pull-right-container
which I think has a little sense. If you don’t use multiple labels you may want to keep it simple by just specifying.pull-right
to the<i>
element.The problem was reagarding a visual glitch in Firefox (which I could reproduce with my current browser’s version 47.0.1) where multiple labels are not being displayed correctly:
Solution
If you don’t use multiple labels consider this workaround (example of a fully dropdown menu):
Note that I added the
-container
topull-right
css class inside the Font Awesome icon.And this will fix this visual glitch. Working expanded as well.
If you want to add multiple labels, with this change you have to do it enclosing all of them inside a
.pull-right-container
, like this:Which will produce:
However, if you still want all these features (dropdown’s caret and multi-label) consider enclosing them all in the
.pull-right-container
, like the following snippet:The result will be:
I’m not a big fan of this change, since I personally didn’t use multiple labels. And single labels worked perfectly fine, as well as dropdown’s caret. If there is no way to easily fix this issue in Firefox, both css classes (
.pull-right
and.pull-right-container
) should be kept to handle both cases and to not break all people’s implementations.