Refactor #6691 - For OverlayBadge
parent
556a5508ef
commit
5ab7bf7baa
|
@ -7,8 +7,8 @@ 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;
|
||||
|
@ -16,6 +16,10 @@ const theme = ({ dt }) => `
|
|||
outline-style: solid;
|
||||
outline-color: ${dt('overlaybadge.outline.color')};
|
||||
}
|
||||
|
||||
.p-overlaybadge .p-badge:dir(rtl) {
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
`;
|
||||
|
||||
const classes = {
|
||||
|
|
Loading…
Reference in New Issue