Skip to content

Commit

Permalink
Generalize iframe css, shift form height into attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
thatbudakguy committed Dec 18, 2020
1 parent 11d675f commit ab0a119
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 22 deletions.
14 changes: 0 additions & 14 deletions sitemedia/scss/base/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,3 @@ select {
outline-offset: $focus-outline-offset;
}
}

.consult iframe,
.cosponsor iframe {
width: 100%;
border: none;
}

.consult iframe {
height: 2300px;
}

.cosponsor iframe {
height: 3200px;
}
5 changes: 5 additions & 0 deletions sitemedia/scss/base/_media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ picture {
margin: 0;
max-width: 100%;
}

iframe {
width: 100%;
border: none;
}
8 changes: 0 additions & 8 deletions sitemedia/scss/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1704,14 +1704,6 @@ body.richtextpage {
&.consult {
section {
@include content-page;

iframe {
margin: 0;
padding: 0;
border: 0;
width: 100%;
height: 750px;
}
}

}
Expand Down

0 comments on commit ab0a119

Please sign in to comment.