Update Label, Button and ListView

- Label and Button now can set icon on both left and right side of the text
- Fix ListView dropdown bug, and allow the dropdown list to positioned correctly based on its nearest anchored element
This commit is contained in:
DanyLE
2023-02-01 12:44:22 +01:00
committed by Dany LE
parent b490ae9d42
commit 649c7d942a
5 changed files with 99 additions and 24 deletions

View File

@ -67,7 +67,7 @@ afx-list-view.dropdown {
}
afx-list-view.dropdown > div.list-container{
overflow: visible;
position: absolute;
/*position: absolute;*/
}
afx-list-view.dropdown > div.list-container > div
{
@ -91,17 +91,9 @@ afx-list-view.dropdown > div.list-container > ul li{
width:100%;
}
afx-list-view.dropdown div.list-container div:before {
content: "\f107";
font-family: "FontAwesome";
font-size: 16px;
font-style: normal;
position: absolute;
right: 5px;
}
afx-list-view.dropdown div.list-container > div > afx-label{
padding-left:3px;
padding-right: 25px;
padding-right: 5px;
height: 100%;
}
afx-list-view.dropdown div.list-container > div > afx-label span