mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
Ensure dev-overlay-window is anchored to the bottom (#9222)
This commit is contained in:
parent
49aa215a01
commit
279e3c1b3d
2 changed files with 7 additions and 1 deletions
5
.changeset/famous-eels-trade.md
Normal file
5
.changeset/famous-eels-trade.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Ensure the dev-overlay-window is anchored to the bottom
|
|
@ -23,7 +23,8 @@ export class DevOverlayWindow extends HTMLElement {
|
|||
color: rgba(204, 206, 216, 1);
|
||||
position: fixed;
|
||||
z-index: 999999999;
|
||||
top: 55%;
|
||||
/* -7.5em is a magic number that seems to keep it anchored with the dev bar */
|
||||
bottom: calc(7.5% + -150px);
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
box-shadow: 0px 0px 0px 0px rgba(19, 21, 26, 0.30), 0px 1px 2px 0px rgba(19, 21, 26, 0.29), 0px 4px 4px 0px rgba(19, 21, 26, 0.26), 0px 10px 6px 0px rgba(19, 21, 26, 0.15), 0px 17px 7px 0px rgba(19, 21, 26, 0.04), 0px 26px 7px 0px rgba(19, 21, 26, 0.01);
|
||||
|
|
Loading…
Reference in a new issue