Skip to content

Commit a6d35fc

Browse files
vaadin-botjouni
andauthored
fix: round middle notification region translate to nearest pixel (#11257) (#11281)
Co-authored-by: Jouni Koivuviita <jouni@vaadin.com>
1 parent 4fc1e1e commit a6d35fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/notification/src/styles/vaadin-notification-container-base-styles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const notificationContainerStyles = css`
7171
position: fixed;
7272
top: 50%;
7373
left: 50%;
74-
translate: -50% -50%;
74+
translate: round(-50%, 1px) round(-50%, 1px);
7575
max-width: calc(100% - var(--_padding) * 2);
7676
}
7777

0 commit comments

Comments
 (0)