Commit Graph

20 Commits

Author SHA1 Message Date
Felix Zedén Yverås
caae8e7385 fix: improve support for browsers with collapsing url bars
Some mobile browsers (e.g. chrome) uses collapsing url bars (the
bar collapses when you scroll). In such cases, `100vh` typically
refers to the full height of the viewport when the url bar is
collapsed (see also `svh`, `lvh` and `dvh`, e.g. at
<https://ishadeed.com/article/new-viewport-units/#the-small-large-and-dynamic-viewport-units>
). This meant that on my tablet, the editor would extend below the
visible page until I scrolled it into view.

This commit re-uses a fix from some of my other projects
(specifically
<5c7e788d40/src/styles/globals.css (L14-L28)>
) where the root element is set to fill 100% height. This avoids
dealing with viewport units altogether. On my tablet, this means
that the url bar is visible and that the editor does not extend
below the visible page.
2024-07-14 15:36:54 +02:00
1ilit
d5568c42bf Fix scrollbar height and corner 2024-07-07 17:21:54 +03:00
1ilit
378c6846a9 Clean up index.css 2024-04-06 10:36:22 +03:00
1ilit
f0f90e3d85 Make landing page responsive 2024-02-20 13:25:44 +02:00
1ilit
c5f929ac55 Fix buttons 2023-12-18 01:21:33 +02:00
1ilit
af08bae76f Extract editor classes to richeditor.css 2023-09-19 15:52:03 +03:00
1ilit
45c95c7f11 Add rich text editot 2023-09-19 15:51:59 +03:00
1ilit
f2b02e5d42 Add bug report page 2023-09-19 15:51:49 +03:00
1ilit
6509d42478 Add shortcuts page 2023-09-19 15:51:44 +03:00
1ilit
1dd645f1a7 add dark theme 2023-09-19 15:51:08 +03:00
1ilit
ce92a35c9f edit table sidesheet 2023-09-19 15:48:53 +03:00
1ilit
2a04f651d3 nice stuff 2023-09-19 15:48:51 +03:00
1ilit
519b9d0a27 add search table functionality 2023-09-19 15:48:09 +03:00
1ilit
41112a29b8 basic layout for the overview 2023-09-19 15:47:51 +03:00
1ilit
f3d010b668 rename everything 2023-09-19 15:46:59 +03:00
1ilit
09c84e0379 stinky poopy working code to add shapes 2023-09-19 15:46:54 +03:00
1ilit
fb96932379 Add code editor 2023-09-19 15:46:50 +03:00
1ilit
02541374ea Plan layout 2023-09-19 15:46:48 +03:00
1ilit
db580f892d Add tailwind 2023-09-19 15:46:40 +03:00
1ilit
cc6e46f4c3 Initial commit 2023-09-19 15:46:33 +03:00