@dnax/ui 0.0.51 → 0.0.53
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/lib/datePicker.ts +1 -1
- package/package.json +1 -1
- package/styles/main.css +10 -3
package/lib/datePicker.ts
CHANGED
|
@@ -16,7 +16,7 @@ export const POPOVER_GAP = 8
|
|
|
16
16
|
export const POPOVER_MIN_SPACE = 220
|
|
17
17
|
|
|
18
18
|
/** Largeur de repli tant que le panneau n'a pas été mesuré (1er rendu) */
|
|
19
|
-
export const POPOVER_FALLBACK_WIDTH =
|
|
19
|
+
export const POPOVER_FALLBACK_WIDTH = 300
|
|
20
20
|
|
|
21
21
|
/** Marge minimale de la flèche avec les coins du panneau */
|
|
22
22
|
export const POPOVER_CARET_INSET = 16
|
package/package.json
CHANGED
package/styles/main.css
CHANGED
|
@@ -5790,7 +5790,7 @@ a.q-breadcrumbs__el:hover {
|
|
|
5790
5790
|
}
|
|
5791
5791
|
|
|
5792
5792
|
.q-date-picker__sheet--popover {
|
|
5793
|
-
width:
|
|
5793
|
+
width: 300px;
|
|
5794
5794
|
max-width: calc(100vw - 16px);
|
|
5795
5795
|
border: 1px solid rgb(0 0 0 / 0.08);
|
|
5796
5796
|
box-shadow: 0 10px 32px rgb(0 0 0 / 0.16);
|
|
@@ -5809,8 +5809,8 @@ a.q-breadcrumbs__el:hover {
|
|
|
5809
5809
|
.q-date-calendar {
|
|
5810
5810
|
display: flex;
|
|
5811
5811
|
flex-direction: column;
|
|
5812
|
-
gap:
|
|
5813
|
-
padding:
|
|
5812
|
+
gap: 6px;
|
|
5813
|
+
padding: 10px;
|
|
5814
5814
|
user-select: none;
|
|
5815
5815
|
}
|
|
5816
5816
|
|
|
@@ -5885,6 +5885,8 @@ a.q-breadcrumbs__el:hover {
|
|
|
5885
5885
|
.q-date-calendar__weekdays {
|
|
5886
5886
|
display: grid;
|
|
5887
5887
|
grid-template-columns: repeat(7, 1fr);
|
|
5888
|
+
/* Même gap que les semaines : les libellés s'alignent sur les colonnes des jours */
|
|
5889
|
+
gap: 2px;
|
|
5888
5890
|
}
|
|
5889
5891
|
|
|
5890
5892
|
.q-date-calendar__weekday {
|
|
@@ -5912,7 +5914,12 @@ a.q-breadcrumbs__el:hover {
|
|
|
5912
5914
|
align-items: center;
|
|
5913
5915
|
justify-content: center;
|
|
5914
5916
|
width: 100%;
|
|
5917
|
+
/* La colonne est en `1fr` : sans plafond le cercle grandit avec la largeur du
|
|
5918
|
+
panneau (popover 300px → cercles ~38px, inline large → bien plus). On borne
|
|
5919
|
+
la pastille et on la centre. */
|
|
5920
|
+
max-width: 34px;
|
|
5915
5921
|
aspect-ratio: 1;
|
|
5922
|
+
justify-self: center;
|
|
5916
5923
|
padding: 0;
|
|
5917
5924
|
border: none;
|
|
5918
5925
|
border-radius: 50%;
|