cinera_search.js: Pin ↑ button to top in landscape
This commit is contained in:
parent
0a9d51b0d7
commit
5857a30eaf
|
@ -23,7 +23,7 @@ typedef struct
|
|||
version CINERA_APP_VERSION = {
|
||||
.Major = 0,
|
||||
.Minor = 8,
|
||||
.Patch = 3
|
||||
.Patch = 4
|
||||
};
|
||||
|
||||
#include <stdarg.h> // NOTE(matt): varargs
|
||||
|
|
|
@ -165,7 +165,7 @@ ul.cineraNavPlain li.current > a {
|
|||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
#cineraIndex .cineraTraversal .cineraButton
|
||||
#cineraIndex .cineraTraversalContainer .cineraButton
|
||||
{
|
||||
box-sizing: border-box;
|
||||
display: inline-flex;
|
||||
|
|
|
@ -2839,16 +2839,19 @@ UseOrientation(Orientation)
|
|||
{
|
||||
case orientations.PORTRAIT:
|
||||
{
|
||||
Nav.Controls.GridTraversal.Header.insertBefore(Nav.Controls.GridTraversal.Ascend, Nav.Controls.GridTraversal.Next);
|
||||
Nav.GridContainer.classList.add("Portrait");
|
||||
} break;
|
||||
|
||||
case orientations.LANDSCAPE_LEFT:
|
||||
{
|
||||
Nav.Controls.GridTraversal.Header.parentElement.insertBefore(Nav.Controls.GridTraversal.Ascend, Nav.Controls.GridTraversal.Header);
|
||||
Nav.GridContainer.classList.add("Landscape", "Left");
|
||||
} break;
|
||||
|
||||
case orientations.LANDSCAPE_RIGHT:
|
||||
{
|
||||
Nav.Controls.GridTraversal.Header.parentElement.insertBefore(Nav.Controls.GridTraversal.Ascend, Nav.Controls.GridTraversal.Header);
|
||||
Nav.GridContainer.classList.add("Landscape", "Right");
|
||||
} break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue