@sowell/quasar-app-extension-auth 1.8.5 → 1.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sowell/quasar-app-extension-auth",
3
- "version": "1.8.5",
3
+ "version": "1.8.6",
4
4
  "description": "A Quasar app extension to manage Authentication",
5
5
  "main": "src/index.js",
6
6
  "repository": "https://github.com/sowell-ai/quasar.extension.auth",
@@ -2,10 +2,12 @@
2
2
  <q-layout>
3
3
  <div class="row window-height">
4
4
  <div class="col column content-center bgWhite">
5
- <div class="q-mt-xl">
5
+ <div class="q-mt-xl logo-block">
6
6
  <img src="../../assets/Sowell-logo.svg" style="width: 210px" />
7
7
  </div>
8
- <div class="column col content-center justify-center center">
8
+ <div
9
+ class="column col content-center justify-center center"
10
+ :class="{ 'center-no-offset': isMagicLinkEnabled }">
9
11
  <div class="q-pl-md q-pr-md" style="max-width: 500px">
10
12
  <h4 class="title">{{ WELCOME_TITLE }}</h4>
11
13
  <div class="subtitle">{{ WELCOME_SUBTITLE }}</div>
@@ -276,8 +278,20 @@ export default defineComponent({
276
278
  margin-top: -115px;
277
279
  }
278
280
 
281
+ /* Le bloc "Activer mon compte" (magiclink) rallonge la colonne : le decalage
282
+ negatif de recentrage faisait alors chevaucher le titre avec le logo. */
283
+ .center-no-offset {
284
+ margin-top: 0;
285
+ }
286
+
287
+ /* Le logo ne doit jamais etre compresse ni recouvert quand la colonne deborde. */
288
+ .logo-block {
289
+ flex: none;
290
+ }
291
+
279
292
  .bgWhite {
280
293
  background: #ffffff;
294
+ overflow-y: auto;
281
295
  }
282
296
  .bgBlue {
283
297
  background: var(--q-primary);
@@ -2,10 +2,14 @@
2
2
  <q-layout>
3
3
  <div class="row window-height">
4
4
  <div class="col column content-center bgWhite">
5
- <div class="q-mt-xl custom-screen">
5
+ <div
6
+ class="q-mt-xl custom-screen"
7
+ :class="{ 'custom-screen-compact': isMagicLinkEnabled }">
6
8
  <img src="../../assets/Sowell-logo.svg" style="width: 210px" />
7
9
  </div>
8
- <div class="column col content-center justify-center center">
10
+ <div
11
+ class="column col content-center justify-center center"
12
+ :class="{ 'center-no-offset': isMagicLinkEnabled }">
9
13
  <div class="q-pl-md q-pr-md" style="max-width: 500px">
10
14
  <h4 class="title">{{ WELCOME_TITLE }}</h4>
11
15
  <div class="subtitle">{{ WELCOME_SUBTITLE }}</div>
@@ -396,8 +400,20 @@ export default defineComponent({
396
400
  margin-top: -115px;
397
401
  }
398
402
 
403
+ /* Le bloc "Activer mon compte" (magiclink) rallonge la colonne : le decalage
404
+ negatif de recentrage faisait alors chevaucher le titre avec le logo. */
405
+ .center-no-offset {
406
+ margin-top: 0;
407
+ }
408
+
409
+ /* Le logo ne doit jamais etre compresse ni recouvert quand la colonne deborde. */
410
+ .custom-screen {
411
+ flex: none;
412
+ }
413
+
399
414
  .bgWhite {
400
415
  background: #ffffff;
416
+ overflow-y: auto;
401
417
  }
402
418
  .bgBlue {
403
419
  background: var(--q-primary);
@@ -429,6 +445,11 @@ export default defineComponent({
429
445
  margin-top: 15px;
430
446
  margin-bottom: 125px;
431
447
  }
448
+ /* Avec le bloc magiclink la colonne est bien plus haute : la grande marge
449
+ sous le logo ferait deborder le formulaire hors de l'ecran. */
450
+ .custom-screen-compact {
451
+ margin-bottom: 24px;
452
+ }
432
453
  .subtitle {
433
454
  margin-bottom: 20px !important;
434
455
  }