More css clean up
This commit is contained in:
parent
1fe5015056
commit
ce383ce34c
6 changed files with 13 additions and 71 deletions
|
|
@ -3,14 +3,8 @@
|
|||
html > body > .canvas-container > .garden-prompt {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: calc(7.25rem + env(safe-area-inset-bottom));
|
||||
transform: translateX(-50%);
|
||||
max-width: min(92vw, 780px);
|
||||
color: white;
|
||||
text-align: center;
|
||||
font-size: 46px;
|
||||
line-height: 1.15;
|
||||
text-shadow: 0 2px 18px rgb(0 0 0 / 60%);
|
||||
pointer-events: none;
|
||||
z-index: 2;
|
||||
|
||||
|
|
@ -22,7 +16,6 @@ html > body > .canvas-container > .garden-prompt {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
top: calc(1.25rem + env(safe-area-inset-top));
|
||||
bottom: auto;
|
||||
gap: 16px;
|
||||
width: max-content;
|
||||
min-height: 78px;
|
||||
|
|
@ -84,12 +77,8 @@ html > body > .canvas-container > .garden-prompt {
|
|||
}
|
||||
|
||||
@include on-small-screen {
|
||||
bottom: calc(10rem + env(safe-area-inset-bottom));
|
||||
font-size: 24px;
|
||||
|
||||
&.draw-hint {
|
||||
top: calc(0.75rem + env(safe-area-inset-top));
|
||||
bottom: auto;
|
||||
gap: 10px;
|
||||
min-height: 58px;
|
||||
max-width: min(92vw, 340px);
|
||||
|
|
|
|||
Loading…
Reference in a new issue