Skip to content

Commit bba281b

Browse files
committed
Ajustement des tailles de polices section appel, + taille des pages ajustés pour les navigateurs téléphones
1 parent 4c6fcfe commit bba281b

File tree

7 files changed

+11
-10
lines changed

7 files changed

+11
-10
lines changed

bun.lockb

-8 Bytes
Binary file not shown.

src/routes/admin/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default component$(() => {
3333
}
3434

3535
return <section
36-
class="w-svw h-svh sm:grid overflow-hidden"
36+
class="w-dvw h-dvh sm:grid overflow-hidden"
3737
style="grid-template-columns: auto 1fr">
3838
<div class="sm:hidden p-2 flex flex-row gap-3 border-b items-center">
3939
<div class="p-2 hover:bg-black hover:bg-opacity-10 rounded

src/routes/dash/appels/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export default component$(() => {
273273
}
274274
})
275275

276-
return <section>
276+
return <>
277277
<div class="text-2xl font-medium p-5 sm:p-10
278278
flex flex-row flex-wrap gap-x-2 items-center">
279279
Appel du pôle
@@ -288,7 +288,7 @@ export default component$(() => {
288288
</div>
289289
{
290290
state.pole
291-
? <div class="appel w-full flex flex-col gap-0">
291+
? <div class="appel w-full flex flex-col gap-0 lg:text-xl lg:leading-6">
292292
<div class="ligne tete font-semibold">
293293
<Entete
294294
trie={{
@@ -347,7 +347,7 @@ export default component$(() => {
347347
/> )
348348
}
349349
</div>
350-
: <div class="w-full h-full sm:px-32 md:px-48 lg:px-64 xl:px-96 flex flex-row gap-2 items-center justify-center min-h-96 font-medium">
350+
: <div class="w-full min-h-96 sm:px-32 md:px-48 lg:px-64 xl:px-96 flex flex-row gap-2 items-center justify-center min-h-96 font-medium">
351351
<LuTag/>
352352
<p class="w-2/3 sm:w-auto">
353353
Vous devez choisir le pôle pour lequel vous voulez faire l'appel!
@@ -375,7 +375,7 @@ export default component$(() => {
375375
}
376376

377377
</div>
378-
</section>
378+
</>
379379
})
380380

381381
export const head: DocumentHead = {

src/routes/dash/appels/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
border-top: 1px solid #0001;
33

44
display: grid;
5-
grid-template-columns: 200px 200px 100px 40px 40px;
5+
grid-template-columns: 20dvw 20dvw 15dvw 40px 40px;
66
}
77

88
.appel .ligne > * {
@@ -19,6 +19,7 @@
1919
.appel .ligne.tete > *{
2020
cursor: pointer;
2121
user-select: none;
22+
line-height: 1;
2223
}
2324

2425
.appel .ligne .cube{

src/routes/dash/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default component$(() => {
2626
}
2727

2828
return <section id="dash-layout"
29-
class="w-svw h-svh sm:grid overflow-hidden"
29+
class="w-dvw h-dvh sm:grid overflow-hidden"
3030
style="grid-template-columns: auto 1fr">
3131
<div class="sm:hidden p-2 flex flex-row gap-3 border-b items-center">
3232
<div class="p-2 hover:bg-black hover:bg-opacity-10 rounded
@@ -37,7 +37,7 @@ export default component$(() => {
3737
<DashNavigation
3838
open={menu.value}
3939
permissions={permissions}/>
40-
<div class="w-full h-full overflow-auto">
40+
<div class="w-full h-full overflow-auto pb-12 sm:pb-0">
4141
<Slot/>
4242
</div>
4343
</section>

src/routes/etc/password-reset/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { DocumentHead, Link } from "@builder.io/qwik-city";
33

44
import Cat from "~/assets/cat.png?jsx"
55
export default component$(() => {
6-
return <section class="w-svw h-svh">
6+
return <section class="w-dvw h-dvh">
77
<Link href="/" class="absolute top-4 left-4 font-light
88
hover:text-black hover:text-opacity-25 transition-colors">
99
Revenir en arrière

src/routes/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default component$(() => {
8989
})
9090

9191
return <section class="flex md:grid flex-col md:items-center gap-2 sm:gap-10
92-
p-5 md:p-10 w-svw h-svh
92+
p-5 md:p-10 w-dvw h-dvh
9393
md:grid-cols-2 md:grid-rows-1">
9494
<FlowField/>
9595
<Form

0 commit comments

Comments
 (0)