Merged in fix/SW-2675 (pull request #2039)
fix(SW-2675): fix safari date picker button positioning bug * fix(SW-2675): fix safari date picker button positioning bug Approved-by: Christian Andolf Approved-by: Matilda Landström
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
.container {
|
||||
--header-height: 72px;
|
||||
--sticky-button-height: 120px;
|
||||
--sticky-button-height: 124px;
|
||||
|
||||
display: grid;
|
||||
grid-template-areas:
|
||||
@@ -60,7 +60,7 @@ div.months {
|
||||
}
|
||||
|
||||
.month:last-of-type {
|
||||
padding-bottom: var(--sticky-button-height);
|
||||
padding-bottom: calc(var(--sticky-button-height) + var(--Spacing-x2));
|
||||
}
|
||||
|
||||
.monthCaption {
|
||||
@@ -81,9 +81,10 @@ div.months {
|
||||
display: flex;
|
||||
grid-area: content;
|
||||
padding: var(--Spacing-x1) var(--Spacing-x2) var(--Spacing-x7);
|
||||
position: sticky;
|
||||
top: calc(100vh - var(--sticky-button-height));
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.container {
|
||||
--header-height: 72px;
|
||||
--sticky-button-height: 120px;
|
||||
--sticky-button-height: 124px;
|
||||
|
||||
display: grid;
|
||||
grid-template-areas:
|
||||
@@ -58,7 +58,7 @@ div.months {
|
||||
}
|
||||
|
||||
.month:last-of-type {
|
||||
padding-bottom: var(--sticky-button-height);
|
||||
padding-bottom: calc(var(--sticky-button-height) + var(--Spacing-x2));
|
||||
}
|
||||
|
||||
.monthCaption {
|
||||
@@ -79,9 +79,10 @@ div.months {
|
||||
display: flex;
|
||||
grid-area: content;
|
||||
padding: var(--Spacing-x1) var(--Spacing-x2) var(--Spacing-x7);
|
||||
position: sticky;
|
||||
top: calc(100vh - var(--sticky-button-height));
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user