Closed a-tokyo closed 3 years ago
– Since the wifi logo has a hardcoded paddingLeft, it's not behaving nicely with RTL languages.
– Instead of setting paddingLeft check for html.direction and set paddingRight if rtl or paddingLeft otherwise.
paddingLeft
paddingRight
rtl
PR with fixes: https://github.com/bndw/wifi-card/pull/202
Description:
– Since the wifi logo has a hardcoded paddingLeft, it's not behaving nicely with RTL languages.
Proposed solution:
– Instead of setting
paddingLeft
check for html.direction and setpaddingRight
ifrtl
orpaddingLeft
otherwise.PR with fixes: https://github.com/bndw/wifi-card/pull/202