From ab0a1192c8a1081ad5217dc72dc47e2939f2b107 Mon Sep 17 00:00:00 2001 From: Nick Budak Date: Fri, 18 Dec 2020 11:04:36 -0500 Subject: [PATCH] Generalize iframe css, shift form height into attributes --- sitemedia/scss/base/_forms.scss | 14 -------------- sitemedia/scss/base/_media.scss | 5 +++++ sitemedia/scss/site.scss | 8 -------- 3 files changed, 5 insertions(+), 22 deletions(-) diff --git a/sitemedia/scss/base/_forms.scss b/sitemedia/scss/base/_forms.scss index a3bddc2ea..8e3c744f1 100644 --- a/sitemedia/scss/base/_forms.scss +++ b/sitemedia/scss/base/_forms.scss @@ -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; -} \ No newline at end of file diff --git a/sitemedia/scss/base/_media.scss b/sitemedia/scss/base/_media.scss index dfa22eaed..6b4d9f1ab 100644 --- a/sitemedia/scss/base/_media.scss +++ b/sitemedia/scss/base/_media.scss @@ -7,3 +7,8 @@ picture { margin: 0; max-width: 100%; } + +iframe { + width: 100%; + border: none; +} \ No newline at end of file diff --git a/sitemedia/scss/site.scss b/sitemedia/scss/site.scss index 896504fd2..4bfb9645f 100644 --- a/sitemedia/scss/site.scss +++ b/sitemedia/scss/site.scss @@ -1704,14 +1704,6 @@ body.richtextpage { &.consult { section { @include content-page; - - iframe { - margin: 0; - padding: 0; - border: 0; - width: 100%; - height: 750px; - } } }