Skip to content

Commit

Permalink
Switch bottom left radius with bottom right radius (#6379)
Browse files Browse the repository at this point in the history
* Switch  bottom left radius with bottom right radius

* Update tests
  • Loading branch information
mohamedsalem401 authored Jan 23, 2025
1 parent cd8e95f commit 6599e89
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions packages/core/src/style_manager/model/PropertyFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,14 +342,14 @@ export default class PropertyFactory {
extend: 'border-top-right-radius',
id: 'border-top-right-radius-sub',
},
{
extend: 'border-bottom-right-radius',
id: 'border-bottom-right-radius-sub',
},
{
extend: 'border-bottom-left-radius',
id: 'border-bottom-left-radius-sub',
},
{
extend: 'border-bottom-right-radius',
id: 'border-bottom-right-radius-sub',
},
]),
},
'margin',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,16 +485,16 @@ describe('PropertyFactory', () => {
default: '0',
},
{
property: 'border-bottom-right-radius',
id: 'border-bottom-right-radius-sub',
property: 'border-bottom-left-radius',
id: 'border-bottom-left-radius-sub',
type: 'number',
units: obj.unitsSize,
min: 0,
default: '0',
},
{
property: 'border-bottom-left-radius',
id: 'border-bottom-left-radius-sub',
property: 'border-bottom-right-radius',
id: 'border-bottom-right-radius-sub',
type: 'number',
units: obj.unitsSize,
min: 0,
Expand Down

0 comments on commit 6599e89

Please sign in to comment.