Skip to content

Commit 9f4af52

Browse files
feat: tall and other changes
1 parent 292e33d commit 9f4af52

File tree

11 files changed

+10
-13
lines changed

11 files changed

+10
-13
lines changed

templates/angular-example/src/app/components/backdrop/backdrop.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div
22
[ngClass]="[
33
'fixed inset-0 z-40 bg-white/30 flex items-center justify-center',
4-
spinner ? 'backdrop-blur-sm' : 'backdrop-blur-xl'
4+
spinner ? 'backdrop-blur-xs' : 'backdrop-blur-xl'
55
]">
66
<div
77
*ngIf="spinner"

templates/angular-example/src/app/components/background/background.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div
2-
class="hidden sm:block fixed top-[400px] tall:top-2/4 right-0 -z-10 translate-x-2/4 lg:translate-x-1/3 -translate-y-2/4 min-h-[800px] h-[100dvh] aspect-square">
2+
class="hidden sm:block fixed top-[400px] [@media(min-height:800px)]:top-2/4 right-0 -z-10 translate-x-2/4 lg:translate-x-1/3 -translate-y-2/4 min-h-[800px] h-[100dvh] aspect-square">
33
<img
44
src="/assets/juno_illustration.svg"
55
role="presentation"

templates/angular-example/src/app/components/home/home.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="relative isolate min-h-[100dvh]">
2-
<main class="mx-auto max-w-(--breakpoint-2xl) py-16 px-8 md:px-24 tall:min-h-[calc(100dvh-128px)]">
2+
<main class="mx-auto max-w-(--breakpoint-2xl) py-16 px-8 md:px-24 [@media(min-height:800px)]:min-h-[calc(100dvh-128px)]">
33
<h1 class="dark:text-white text-5xl md:text-6xl font-bold tracking-tight md:pt-24">
44
Example App
55
</h1>

templates/angular-example/src/app/components/modal/modal.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<form (ngSubmit)="onSubmit()" [formGroup]="diaryForm">
1515
<div class="relative w-full max-w-xl">
1616
<textarea
17-
class="form-control block w-full px-3 py-1.5 text-base font-normal m-0 resize-none border-black border-[3px] rounded-xs bg-white shadow-[5px_5px_0px_rgba(0,0,0,1)] focus:outline-none"
17+
class="form-control block w-full px-3 py-1.5 text-base font-normal m-0 resize-none border-black border-[3px] rounded-xs bg-white shadow-[5px_5px_0px_rgba(0,0,0,1)] focus:outline-hidden"
1818
rows="{7}"
1919
placeholder="Your diary entry"
2020
formControlName="entry"></textarea>

templates/angular-example/tailwind.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ module.exports = {
88
sans: ['JetBrains Mono', 'sans-serif', ...fontFamily.sans]
99
},
1010
extend: {
11-
screens: {
12-
tall: {raw: '(min-height: 800px)'}
13-
},
1411
animation: {
1512
fade: 'fadeIn .25s ease-in-out'
1613
},

templates/angular-starter/src/app/components/background/background.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<img
2-
class="hidden sm:block fixed top-[400px] tall:top-2/4 right-0 -z-10 translate-x-2/4 lg:translate-x-1/3 -translate-y-2/4 min-h-[800px] h-[100dvh] aspect-square"
2+
class="hidden sm:block fixed top-[400px] [@media(min-height:800px)]:top-2/4 right-0 -z-10 translate-x-2/4 lg:translate-x-1/3 -translate-y-2/4 min-h-[800px] h-[100dvh] aspect-square"
33
src="/assets/juno_illustration.svg"
44
role="presentation"
55
loading="lazy"

templates/angular-starter/src/app/components/home/home.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="relative isolate min-h-[100dvh]">
2-
<main class="mx-auto max-w-(--breakpoint-2xl) py-16 px-8 md:px-24 tall:min-h-[calc(100dvh-128px)]">
2+
<main class="mx-auto max-w-(--breakpoint-2xl) py-16 px-8 md:px-24 [@media(min-height:800px)]:min-h-[calc(100dvh-128px)]">
33
<h1 class="dark:text-white text-5xl md:text-6xl font-extrabold md:pt-16">Welcome to Juno</h1>
44

55
<div class="w-full max-w-2xl mt-8 grid grid-cols-2 gap-8">

templates/astro-starter/src/components/Background.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<img
2-
class="hidden sm:block fixed top-[400px] tall:top-2/4 right-0 -z-10 translate-x-2/4 lg:translate-x-1/3 -translate-y-2/4 min-h-[800px] h-[100dvh] aspect-square"
2+
class="hidden sm:block fixed top-[400px] [@media(min-height:800px)]:top-2/4 right-0 -z-10 translate-x-2/4 lg:translate-x-1/3 -translate-y-2/4 min-h-[800px] h-[100dvh] aspect-square"
33
src="./juno_illustration.svg"
44
role="presentation"
55
loading="lazy"

templates/astro-starter/src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { SITE_TITLE, SITE_DESCRIPTION, SITE_SOCIAL_IMAGE } from "../consts";
2222
<body class="bg-white dark:bg-black">
2323
<div class="relative isolate min-h-[100dvh]">
2424
<main
25-
class="mx-auto max-w-(--breakpoint-2xl) py-16 px-8 md:px-24 tall:min-h-[calc(100dvh-128px)]"
25+
class="mx-auto max-w-(--breakpoint-2xl) py-16 px-8 md:px-24 [@media(min-height:800px)]:min-h-[calc(100dvh-128px)]"
2626
>
2727
<h1
2828
class="dark:text-white text-5xl md:text-6xl font-extrabold md:pt-16"

templates/nextjs-starter/src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default function Home() {
2020

2121
return (
2222
<div className="relative isolate min-h-[100dvh]">
23-
<main className="mx-auto max-w-(--breakpoint-2xl) py-16 px-8 md:px-24 tall:min-h-[calc(100dvh-128px)]">
23+
<main className="mx-auto max-w-(--breakpoint-2xl) py-16 px-8 md:px-24 [@media(min-height:800px)]:min-h-[calc(100dvh-128px)]">
2424
<h1 className="dark:text-white text-5xl md:text-6xl font-extrabold md:pt-16">
2525
Welcome to Juno
2626
</h1>

templates/nextjs-starter/src/components/background.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Image from 'next/image';
22

33
export const Background = () => {
44
return (
5-
<div className="hidden sm:block fixed top-[400px] tall:top-2/4 right-0 -z-10 translate-x-2/4 lg:translate-x-1/3 -translate-y-2/4 min-h-[800px] h-[100dvh] aspect-square">
5+
<div className="hidden sm:block fixed top-[400px] [@media(min-height:800px)]:top-2/4 right-0 -z-10 translate-x-2/4 lg:translate-x-1/3 -translate-y-2/4 min-h-[800px] h-[100dvh] aspect-square">
66
<Image
77
src="/juno_illustration.svg"
88
role="presentation"

0 commit comments

Comments
 (0)