Skip to content

Commit

Permalink
Refactor #6691 - For OverlayBadge
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Oct 31, 2024
1 parent 556a550 commit 5ab7bf7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/primevue/src/overlaybadge/style/OverlayBadgeStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@ const theme = ({ dt }) => `
.p-overlaybadge .p-badge {
position: absolute;
top: 0;
right: 0;
inset-block-start: 0;
inset-inline-end: 0;
transform: translate(50%, -50%);
transform-origin: 100% 0;
margin: 0;
outline-width: ${dt('overlaybadge.outline.width')};
outline-style: solid;
outline-color: ${dt('overlaybadge.outline.color')};
}
.p-overlaybadge .p-badge:dir(rtl) {
transform: translate(-50%, -50%);
}
`;

const classes = {
Expand Down

0 comments on commit 5ab7bf7

Please sign in to comment.