Skip to content

Commit 1f357d7

Browse files
authored
Update CSS to fit 4 sponsorship programs (#1673)
1 parent bc3d891 commit 1f357d7

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

static/sass/style.css

+7-2
Original file line numberDiff line numberDiff line change
@@ -3623,6 +3623,8 @@ span.highlighted {
36233623
text-align: center;
36243624
display: block;
36253625
text-align: center; }
3626+
#sponsorship_application_container form {
3627+
margin-bottom: 0; }
36263628
#sponsorship_application_container #package_selection {
36273629
display: inline-block; }
36283630
#sponsorship_application_container #package_selection li {
@@ -3656,7 +3658,10 @@ span.highlighted {
36563658
display: inline-block;
36573659
padding: 0.25em; }
36583660
#sponsorship_application_container #benefits_container {
3659-
display: block; }
3661+
display: block;
3662+
width: 100vw;
3663+
position: relative;
3664+
left: calc(-50vw + 50%); }
36603665
#sponsorship_application_container #benefits_container .title {
36613666
margin: 0 0 1em 0;
36623667
padding: 0;
@@ -3674,7 +3679,7 @@ span.highlighted {
36743679
margin-right: 0.5em;
36753680
margin-top: 0.25em;
36763681
margin-bottom: 0.5em;
3677-
width: 30%; }
3682+
width: 24%; }
36783683
#sponsorship_application_container #benefits_container .benefits_checkboxes ul {
36793684
text-align: left; }
36803685
#sponsorship_application_container #benefits_container .benefits_checkboxes ul li {

static/sass/style.scss

+8-1
Original file line numberDiff line numberDiff line change
@@ -2399,6 +2399,10 @@ span.highlighted {
23992399
display: block;
24002400
text-align: center;
24012401

2402+
form {
2403+
margin-bottom: 0;
2404+
}
2405+
24022406
#package_selection {
24032407
display: inline-block;
24042408
li {float: left;}
@@ -2438,6 +2442,9 @@ span.highlighted {
24382442

24392443
#benefits_container{
24402444
display: block;
2445+
width: 100vw;
2446+
position: relative;
2447+
left: calc(-50vw + 50%);
24412448

24422449
.title {
24432450
margin: 0 0 1em 0;
@@ -2458,7 +2465,7 @@ span.highlighted {
24582465
margin-right: 0.5em;
24592466
margin-top: 0.25em;
24602467
margin-bottom: 0.5em;
2461-
width: 30%;
2468+
width: 24%;
24622469

24632470
ul {
24642471
text-align: left;

0 commit comments

Comments
 (0)