Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions client/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,27 @@ a:hover {
color: #535bf2;
}

/*
* Give the document an explicit height chain. The app root uses
* Tailwind's `h-screen` (height: 100vh) and several panes use
* `h-full`, which on Microsoft Edge can collapse if html/body/#root
* do not have an explicit height. This breaks the inspector layout
* on Edge while still rendering fine on Chrome (issues #1222, #876).
*
* Also drop `place-items: center` from body: it was a Vite-scaffold
* leftover that could squeeze the UI into a centered column on
* Edge, leaving large empty margins on either side.
*/
html,
body,
#root {
height: 100%;
width: 100%;
}

body {
margin: 0;
place-items: center;
min-width: 320px;
min-height: 100vh;
}

h1 {
Expand Down