Lauri Ojansivu
64c1f426ab
The right sidebar starts below the header, in both modes.
...
Its upper part - the panel title, the tabs, the members row - was underneath the
two header bars, so the sidebar appeared to start in the middle of itself.
On a phone the sidebar is `position: fixed`, and it has to be: the board behind
it is wider than the screen, so an absolutely-positioned sidebar pins to the far
right of the BOARD and shows as a narrow strip. But fixed means "against the
viewport", and it was pinned at `top: 0` - the top of the screen, which is where
the header bars are.
There is no number to put there. The header is the quick-access bar plus a board
bar whose buttons wrap to one, two or three rows depending on the language and
the window width; every fixed value would be wrong for some of them. So the
header measures itself: client/lib/utils.js publishes its rendered height as
`--wekan-header-height` and the sidebar starts at that. A ResizeObserver keeps it
current, because the buttons re-wrapping does not fire a window resize; an
orientation change and a window resize are handled too, and a missing header
means 0 - the old behaviour - rather than a thrown TypeError.
tests/sidebarBelowHeader.test.cjs pins the rule and the measurement, including
that `top: 0` does not come back.
Thanks to xet7 !
2026-07-26 23:40:55 +03:00
..
2026-06-18 04:14:59 +03:00
2026-07-26 06:19:22 +03:00
2026-06-23 16:50:24 +03:00
2026-07-23 19:16:24 +03:00
2026-07-22 12:15:56 +03:00
2026-07-25 22:25:31 +03:00
2026-07-26 09:57:51 +03:00
2026-07-26 08:27:04 +03:00
2026-07-26 18:21:44 +03:00
2026-07-26 09:54:23 +03:00
2026-07-17 03:27:33 +03:00
2026-05-27 20:51:44 +03:00
2026-07-26 20:29:06 +03:00
2026-07-17 03:34:23 +03:00
2026-07-17 03:21:02 +03:00
2026-07-23 18:55:30 +03:00
2026-07-16 17:40:24 +03:00
2026-07-17 03:07:59 +03:00
2026-07-17 01:43:53 +03:00
2026-07-23 18:55:30 +03:00
2026-07-13 09:16:33 +03:00
2026-07-11 01:53:07 +03:00
2026-07-11 00:14:49 +03:00
2026-07-26 09:39:03 +03:00
2026-07-11 00:14:49 +03:00
2026-07-17 03:41:20 +03:00
2026-07-23 18:55:30 +03:00
2026-07-22 20:05:32 +03:00
2026-07-23 18:55:30 +03:00
2026-07-25 21:34:37 +03:00
2026-07-17 03:07:59 +03:00
2026-07-26 22:24:21 +03:00
2026-07-24 03:23:37 +03:00
2026-07-23 15:03:42 +03:00
2026-07-23 18:55:30 +03:00
2026-07-24 08:06:14 +03:00
2026-07-26 09:31:12 +03:00
2026-07-17 03:07:59 +03:00
2026-07-24 19:32:24 +03:00
2026-07-26 21:56:16 +03:00
2026-07-25 23:19:32 +03:00
2026-07-23 18:55:30 +03:00
2026-06-23 08:50:29 +03:00
2026-07-16 17:40:24 +03:00
2026-07-23 18:59:30 +03:00
2026-07-17 18:04:36 +03:00
2026-07-23 18:59:30 +03:00
2026-07-22 16:22:39 +03:00
2026-07-23 18:55:30 +03:00
2026-06-13 17:19:51 +03:00
2026-07-23 22:08:24 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-24 23:43:27 +03:00
2026-07-18 02:05:00 +03:00
2026-07-24 19:32:24 +03:00
2026-07-26 18:33:29 +03:00
2026-07-23 18:55:30 +03:00
2026-07-17 03:07:59 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-16 17:40:24 +03:00
2026-07-23 18:55:30 +03:00
2026-07-22 13:27:50 +03:00
2026-07-16 17:40:24 +03:00
2026-07-24 03:55:46 +03:00
2026-07-20 03:11:07 +03:00
2026-07-25 16:58:54 +03:00
2026-07-17 23:01:52 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:59:30 +03:00
2026-06-23 16:47:00 +03:00
2026-07-22 10:15:50 +03:00
2026-07-23 18:55:30 +03:00
2026-07-09 02:14:07 +03:00
2026-07-25 00:08:56 +03:00
2026-07-20 03:11:07 +03:00
2026-07-06 18:27:38 +03:00
2026-07-24 09:13:02 +03:00
2026-07-24 04:56:39 +03:00
2026-07-23 21:32:47 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-24 10:14:29 +03:00
2026-07-23 19:16:24 +03:00
2026-07-23 18:55:30 +03:00
2026-07-22 18:04:40 +03:00
2026-07-26 15:02:55 +03:00
2026-07-16 19:12:59 +03:00
2026-07-22 10:35:52 +03:00
2026-07-22 16:51:09 +03:00
2026-07-22 10:35:52 +03:00
2026-07-16 17:40:24 +03:00
2026-07-21 10:06:40 +03:00
2026-07-17 15:04:48 +03:00
2026-07-25 16:49:19 +03:00
2026-07-25 16:49:19 +03:00
2026-06-22 15:46:43 +03:00
2026-07-20 03:11:07 +03:00
2026-07-17 16:59:42 +03:00
2026-07-26 08:10:52 +03:00
2026-07-25 21:34:37 +03:00
2026-07-25 21:34:37 +03:00
2026-07-22 09:21:21 +03:00
2026-07-23 18:59:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-13 09:16:33 +03:00
2026-07-23 00:52:46 +03:00
2026-07-23 00:52:46 +03:00
2026-07-26 03:18:31 +03:00
2026-07-23 18:59:30 +03:00
2026-07-17 03:07:59 +03:00
2026-07-06 16:02:56 +03:00
2026-07-17 03:36:07 +03:00
2026-07-09 09:45:53 +03:00
2026-07-26 00:23:35 +03:00
2026-07-23 18:55:30 +03:00
2026-07-09 02:14:07 +03:00
2026-07-17 03:34:23 +03:00
2026-07-22 09:21:21 +03:00
2026-07-19 18:36:11 +03:00
2026-07-17 03:07:59 +03:00
2026-07-16 10:17:13 +02:00
2026-07-17 03:07:59 +03:00
2026-07-13 09:16:33 +03:00
2026-07-17 03:07:59 +03:00
2026-07-09 09:45:53 +03:00
2026-07-26 14:26:30 +03:00
2026-06-23 16:48:59 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-09 02:14:07 +03:00
2026-07-22 13:02:42 +03:00
2026-07-17 16:59:42 +03:00
2026-07-22 16:22:39 +03:00
2026-07-23 19:16:24 +03:00
2026-07-26 14:26:30 +03:00
2026-05-27 20:51:44 +03:00
2026-07-17 04:52:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-19 18:36:11 +03:00
2026-07-17 03:07:59 +03:00
2026-07-09 10:09:32 +03:00
2026-07-25 21:40:30 +03:00
2026-07-25 21:02:54 +03:00
2026-07-25 22:34:13 +03:00
2026-07-26 19:10:12 +03:00
2026-07-25 23:00:15 +03:00
2026-07-25 22:03:07 +03:00
2026-07-25 21:34:37 +03:00
2026-07-26 21:56:16 +03:00
2026-07-11 00:14:49 +03:00
2026-07-17 23:48:26 +03:00
2026-07-26 23:05:18 +03:00
2026-07-06 10:55:29 +03:00
2026-07-25 22:13:46 +03:00
2026-07-17 03:07:59 +03:00
2026-07-24 16:18:24 +03:00
2026-07-17 03:07:59 +03:00
2026-07-17 03:07:59 +03:00
2026-07-26 15:16:16 +03:00
2026-07-09 02:14:07 +03:00
2026-07-17 18:29:28 +03:00
2026-07-26 20:01:45 +03:00
2026-07-26 01:58:15 +03:00
2026-07-24 03:23:37 +03:00
2026-07-23 18:55:30 +03:00
2026-07-22 12:15:56 +03:00
2026-07-26 23:30:15 +03:00
2026-07-22 21:48:29 +03:00
2026-07-17 03:34:23 +03:00
2026-07-06 10:33:15 +03:00
2026-07-21 10:06:40 +03:00
2026-07-21 10:06:41 +03:00
2026-07-21 10:06:40 +03:00
2026-07-21 10:06:40 +03:00
2026-07-25 16:58:54 +03:00
2026-07-09 02:14:07 +03:00
2026-06-23 08:50:29 +03:00
2026-07-22 12:37:49 +03:00
2026-07-09 02:14:07 +03:00
2026-07-13 09:16:33 +03:00
2026-07-09 09:45:53 +03:00
2026-07-09 02:14:07 +03:00
2026-07-16 17:40:24 +03:00
2026-07-22 10:15:50 +03:00
2026-07-17 03:36:50 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-17 21:40:37 +03:00
2026-07-21 10:06:41 +03:00
2026-07-17 03:36:50 +03:00
2026-07-19 18:36:11 +03:00
2026-07-09 09:45:53 +03:00
2026-07-22 09:21:21 +03:00
2026-07-19 12:22:56 +03:00
2026-07-25 02:28:58 +03:00
2026-07-26 09:48:47 +03:00
2026-07-26 23:40:55 +03:00
2026-07-18 19:42:19 +03:00
2026-07-25 22:08:38 +03:00
2026-07-16 17:40:24 +03:00
2026-07-25 16:22:10 +03:00
2026-07-17 20:20:06 +03:00
2026-07-23 18:55:30 +03:00
2026-07-26 08:27:04 +03:00
2026-07-23 18:59:30 +03:00
2026-07-24 10:14:29 +03:00
2026-07-13 09:16:33 +03:00
2026-07-13 09:16:33 +03:00
2026-07-17 03:21:02 +03:00
2026-07-23 18:55:30 +03:00
2026-07-23 18:55:30 +03:00
2026-07-16 18:46:09 +03:00
2026-07-17 03:34:23 +03:00
2026-07-17 03:44:38 +03:00
2026-07-23 18:55:30 +03:00
2026-07-09 09:45:53 +03:00
2026-07-26 01:58:15 +03:00
2026-07-22 12:15:56 +03:00
2026-07-25 20:50:20 +03:00
2026-07-26 00:17:58 +03:00
2026-07-26 07:59:30 +03:00
2026-07-26 07:59:30 +03:00
2026-07-26 07:59:30 +03:00
2026-07-26 07:59:30 +03:00
2026-07-25 02:28:58 +03:00
2026-07-26 08:33:21 +03:00
2026-07-17 20:46:10 +03:00
2026-07-26 07:48:18 +03:00
2026-07-26 08:27:04 +03:00
2026-06-13 17:19:51 +03:00
2026-06-13 20:15:04 +03:00
2026-06-13 17:19:51 +03:00
2026-07-25 23:38:43 +03:00
2026-07-18 02:16:53 +03:00
2026-07-17 18:44:14 +03:00
2026-07-25 22:25:31 +03:00
2026-07-20 03:11:07 +03:00
2026-07-23 18:55:30 +03:00
2026-07-06 11:50:28 +03:00
2026-07-23 18:55:30 +03:00
2025-12-22 23:18:01 +02:00
2026-06-12 20:15:56 +03:00
2026-07-21 19:43:48 +03:00
2026-07-25 23:52:31 +03:00