File tree Expand file tree Collapse file tree 2 files changed +22
-10
lines changed
Expand file tree Collapse file tree 2 files changed +22
-10
lines changed Original file line number Diff line number Diff line change @@ -523,8 +523,10 @@ export default function Desktop() {
523523 } }
524524 />
525525 < div
526- className = { `absolute bottom-4 md:bottom-12 -right-4 xs:right-8 md:right-0 ${
527- websiteMode ? 'keyboard-garden-images hidden' : ''
526+ className = { `absolute ${
527+ websiteMode
528+ ? 'bottom-4 -right-4 @[2600px]:right-4'
529+ : 'bottom-4 md:bottom-12 -right-4 xs:right-8 md:right-0'
528530 } `}
529531 >
530532 < CloudinaryImage
@@ -533,15 +535,31 @@ export default function Desktop() {
533535 alt = ""
534536 width = { 1401 }
535537 height = { 1400 }
536- className = "size-[300px] md:size-[700px] dark:hidden"
538+ className = { `${ websiteMode ? '' : 'size-[300px] md:size-[700px]' } dark:hidden` }
539+ style = {
540+ websiteMode
541+ ? {
542+ width : 'clamp(8rem, calc(4rem + (100vw - 80rem) * 0.45), 42rem)' ,
543+ height : 'clamp(8rem, calc(4rem + (100vw - 80rem) * 0.45), 42rem)' ,
544+ }
545+ : undefined
546+ }
537547 />
538548 < CloudinaryImage
539549 loading = "lazy"
540550 src = "https://res.cloudinary.com/dmukukwp6/image/upload/keyboard_garden_dark_opt_15e213413c.png"
541551 alt = ""
542552 width = { 1401 }
543553 height = { 1400 }
544- className = "size-[300px] md:size-[700px] hidden dark:block"
554+ className = { `${ websiteMode ? '' : 'size-[300px] md:size-[700px]' } hidden dark:block` }
555+ style = {
556+ websiteMode
557+ ? {
558+ width : 'clamp(8rem, calc(4rem + (100vw - 80rem) * 0.45), 42rem)' ,
559+ height : 'clamp(8rem, calc(4rem + (100vw - 80rem) * 0.45), 42rem)' ,
560+ }
561+ : undefined
562+ }
545563 />
546564 </ div >
547565 </ div >
Original file line number Diff line number Diff line change @@ -2646,9 +2646,3 @@ div[data-radix-popper-content-wrapper] {
26462646.dark .ph-mapbox-popup.mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
26472647 border-left-color: rgb(30 31 35) !important;
26482648}
2649-
2650- @media (min-width: 2650px) {
2651- .keyboard-garden-images {
2652- display: block;
2653- }
2654- }
You can’t perform that action at this time.
0 commit comments