Right Align Text On Display Flex
My code is as follows :
{l
Solution 1:
You could change your CSS slightly :-) thanks to our discussion
.headerListTitle {
font-size: $portalFontSize - 1;
color: $portalBlueColor;
margin-left: auto;
flex-basis: 58%;
//you could replace these 2 lines with below 2 lines if you wish
//justify-content: flex-end;
//flex-basis: 89% (same as below row)
}
.headerListExpires {
font-size: $portalFontSize - 3;
color: $portalYellow;
flex-basis: 89%;
div:first-child {
margin-left: auto;
margin-right: 15px;
}
}
Post a Comment for "Right Align Text On Display Flex"