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
2024-07-02 13:18:38 +03:00
2024-04-06 05:19:13 +03:00
2024-05-22 15:17:07 +03:00
2024-03-15 21:09:50 +02:00
2024-04-06 11:11:12 +03:00
2023-12-16 05:39:13 +02:00
2024-04-06 11:11:12 +03:00
2024-06-01 20:53:07 +03:00
2024-05-22 14:59:41 +03:00
2024-04-14 10:20:14 +03:00
2024-04-06 12:39:13 +03:00
2024-04-06 10:55:54 +03:00
2024-06-01 20:53:07 +03:00
2023-12-16 05:39:13 +02:00
2024-01-03 21:37:44 +02:00
2024-02-27 15:16:14 +02:00
2023-12-16 05:39:13 +02:00

drawdb logo

Free, simple, and intuitive database design tool and SQL generator.

drawDB · Discord · X

demo

drawDB

DrawDB is a robust and user-friendly database entity relationship (DBER) editor right in your browser. Build diagrams with a few clicks, export sql scripts, customize your editor, and more without creating an account. See the full set of features here.

Getting Started

Local Development

git clone https://github.com/drawdb-io/drawdb
cd drawdb
npm install
npm run dev

Build

git clone https://github.com/drawdb-io/drawdb
cd drawdb
npm install
npm run build

Docker Build

docker build -t drawdb .
docker run -p 3000:80 drawdb

Set up the server and environment variables according to .env.sample for the survey and bug report forms.

Description
Free, simple, and intuitive online database diagram editor and SQL generator.
Readme AGPL-3.0 10 MiB
Languages
JavaScript 98.8%
CSS 1%
HTML 0.2%