diff --git a/less/pageNav.less b/less/pageNav.less index a7d5f3b..67260e8 100644 --- a/less/pageNav.less +++ b/less/pageNav.less @@ -41,23 +41,13 @@ html { // buttons with text and icon (left aligned icon as default) // -------------------------------------------------- &__btn.btn-icon:not(.icon-is-right).btn-text .icon { - padding-right: (@icon-padding / 2); - - .dir-rtl & { - padding-left: (@icon-padding / 2); - padding-right: inherit; - } + padding-inline-end: (@icon-padding / 2); } // buttons with text and icon (right aligned icon) // -------------------------------------------------- &__btn.btn-icon.icon-is-right.btn-text .icon { - padding-left: (@icon-padding / 2); - - .dir-rtl & { - padding-right: (@icon-padding / 2); - padding-left: inherit; - } + padding-inline-start: (@icon-padding / 2); } // consistent with nav icon button styling