mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix(core): legacy app navigation snapper width on RTL
After ec9e283e there was still such a problem with the legacy app navigation
snapper that its width was only 266 px on the RTL layout instead of the
normal 300 px. The 266 px is the default width of Snap.js module. While the
left side snapper width is configured with the property maxPosition, the right
side snapper is configured by passing a negative value for the property
minPosition.
Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
This commit is contained in:
parent
b6d9364f54
commit
47f9407127
1 changed files with 1 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ export function initCore() {
|
|||
element: document.getElementById('app-content'),
|
||||
disable: SNAPPER_CLOSE,
|
||||
maxPosition: 300, // $navigation-width
|
||||
minPosition: -300, // $navigation-width for RTL
|
||||
minDragDistance: 100,
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue