Font-Awesome icon indicating copy to clipboard operation
Font-Awesome copied to clipboard

Bug: Replace margin-left/margin-right in favor of direction neutral RTL-friendly margin-inset-start/end

Open matsbryntse opened this issue 7 months ago • 0 comments

Bug description

Seeing a few places which can be modernized:

.#{$fa-css-prefix}-ul {
  list-style-type: none;
  margin-left: var(--#{$fa-css-prefix}-li-margin, #{$fa-li-margin});
  margin-inline-start: var(--#{$fa-css-prefix}-li-margin, #{$fa-li-margin});

Reproducible test case

No response

Screenshots

No response

Font Awesome version

6.6

Serving

Self-hosted

Implementation

CSS

Browser and Operating System

Mac OS Ventura

Web bug report checklist

  • [X] I have included a test case because my odds go way up that the team can fix this when I do
  • [X] I have searched for existing issues and to the best of my knowledge this is not a duplicate

matsbryntse avatar Jul 22 '24 14:07 matsbryntse