Skip to content

Commit b5bad79

Browse files
committed
stick buttons to the bottom always & small CSS fixes
1 parent dd999ad commit b5bad79

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

assets/css/page-widgets/suggested-tasks.css

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,13 @@
147147
}
148148
}
149149

150+
.prpl-suggested-task {
151+
152+
.prpl-suggested-task-checkbox {
153+
flex-shrink: 0; /* Prevent shrinking on mobile */
154+
}
155+
}
156+
150157
/* Disabled checkbox styles. */
151158
.prpl-suggested-task-disabled-checkbox-tooltip {
152159

@@ -390,6 +397,12 @@
390397
}
391398
}
392399

400+
/* To align the buttons to the bottom of the column. */
401+
&:not(.prpl-column-content) {
402+
display: flex;
403+
flex-direction: column;
404+
}
405+
393406
/* Inputs. */
394407
input[type="text"],
395408
input[type="email"],
@@ -453,6 +466,7 @@
453466

454467
/* Used for radio and checkbox inputs. */
455468
.radios {
469+
padding-left: 3px; /* To prevent custom radio and checkbox from being cut off. */
456470
display: flex;
457471
flex-direction: column;
458472
gap: 0.5rem;
@@ -589,10 +603,13 @@
589603

590604
/* Used for next step button. */
591605
.prpl-steps-nav-wrapper {
592-
margin-top: 1rem;
606+
margin-top: auto;
607+
padding-top: 1rem;
593608
display: flex;
594609
justify-content: flex-end;
595610
gap: 1rem;
611+
align-self: flex-end;
612+
width: 100%;
596613

597614
.prpl-button {
598615
cursor: pointer;

0 commit comments

Comments
 (0)