Adjust names of negated style methods (#11453)

This PR adjusts the names of the negated style methods by moving the
`neg_` to after the property name instead of before.

This will help keep related style methods grouped together in
completions.

It also makes it a bit clearer that the negation applies to the value.

### Before

```rs
div()
    .neg_mx_1()
    .neg_mt_2()
```

### After

```rs
div()
    .mx_neg_1()
    .mt_neg_2()
```

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-05-06 13:56:25 -04:00 committed by GitHub
parent 32b59bfa0e
commit 8871fec2a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 12 additions and 12 deletions

View file

@ -75,7 +75,7 @@ impl Render for PlayerStory {
.child(
div()
.relative()
.neg_mx_1()
.mx_neg_1()
.rounded_full()
.border_2()
.border_color(player.background)
@ -90,7 +90,7 @@ impl Render for PlayerStory {
.child(
div()
.relative()
.neg_mx_1()
.mx_neg_1()
.rounded_full()
.border_2()
.border_color(player.background)
@ -105,7 +105,7 @@ impl Render for PlayerStory {
.child(
div()
.relative()
.neg_mx_1()
.mx_neg_1()
.rounded_full()
.border_2()
.border_color(player.background)