@enact/sandstone
Version:
Large-screen/TV support library for Enact, containing a variety of UI components.
26 lines (25 loc) • 398 B
CSS
.viewport {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
white-space: nowrap;
direction: ltr;
}
.viewport.transitioning::before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 10000;
}
:global(.enact-locale-right-to-left) .viewport > * {
direction: rtl;
}
.viewport > :nth-child(2) {
left: -100%;
}