File tree Expand file tree Collapse file tree 3 files changed +20
-11
lines changed
Expand file tree Collapse file tree 3 files changed +20
-11
lines changed Original file line number Diff line number Diff line change 2626 right : 24px ;
2727 z-index : 1000 ;
2828 }
29+
30+ @media (max-width : 512px ) {
31+ section {
32+ top : calc (var (--main-header-height ) + 16px );
33+ right : 16px ;
34+ left : 16px ;
35+ }
36+ }
2937 </style >
Original file line number Diff line number Diff line change 146146 class:is-cloud ={isCloud }
147147 style:--url ={` url(${AppwriteCloudBg }) ` }
148148 style:--url-mobile ={` url(${AppwriteCloudBgMobile }) ` }>
149- <div
150- class =" container u-flex u-flex-vertical u-cross-center full-height"
151- class:cloud-contents ={isCloud }>
149+ <div class ="container u-flex u-flex-vertical u-cross-center" class:cloud-contents ={isCloud }>
152150 {#if isCloud }
153151 <a class ="mobile-logo is-only-mobile" href ={user ? ' /console' : ' /' }>
154152 <img
185183</main >
186184
187185<style lang =" scss" >
186+ :global(body ) {
187+ --main-header-height : 0px !important ;
188+ }
189+
188190 @media (prefers-reduced-motion : reduce) {
189191 main * {
190192 animation : none !important ;
203205 }
204206 }
205207
206- .full-height {
207- block-size : 100vh ;
208- block-size : 100 lvh;
209- }
210-
211208 .cloud-section {
212209 background : var (--url );
213210 background-repeat : no-repeat ;
282279 }
283280
284281 .mobile-logo {
285- margin-block-start : 3 rem ;
282+ margin-block-start : 1 rem ;
286283 margin-block-end : 0.5rem ;
287284 }
288285
345342 .cloud-section {
346343 display : none ;
347344 }
345+
346+ section :last-child {
347+ padding-block-end : 32px ;
348+ }
348349 }
349350
350351 @media (min-width : 530px ) and (max-width : 767px ) {
Original file line number Diff line number Diff line change 8383
8484<div class =" wrapper" >
8585 <div class =" card" >
86- <h3 class =" heading-level-3 u-flex u-cross-center u-gap-8 no-text-select" >
86+ <h3 class =" heading-level-3 no-text-select" >
8787 {title }
8888 <button class ="confetti-btn" on:click ={() => triggerConfettiKey ++ }>
8989 🎉
390390 .confetti-btn {
391391 animation : shake 2000ms ease infinite ;
392392 user-select : none ;
393- display : grid ;
393+ display : inline-flex ;
394394 place-items : center ;
395395 position : relative ;
396396
You can’t perform that action at this time.
0 commit comments