Skip to content

Commit

Permalink
Added custom CSS class for Iframe boarder width
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgnagepatil committed Sep 28, 2023
1 parent 71787f1 commit 5feb536
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<div class="govuk-grid-row">
<div class="govuk-grid-column-three-quarters">
<iframe id="player" title="video" type="text/html" width="640" height="390" allowfullscreen src="@Model.Video.File.Url" frameborder="0"></iframe>
<iframe id="player" title="video" type="text/html" class="iframe-boarder-width" width="640" height="390" allowfullscreen src="@Model.Video.File.Url"></iframe>
<details class="govuk-details govuk-!-margin-top-3" data-module="govuk-details">
<summary class="govuk-details__summary"> <span class="govuk-details__summary-text">View transcript </span></summary>
<div class="govuk-details__text">
Expand Down
4 changes: 4 additions & 0 deletions Childrens-Social-Care-CPD/styles/scss/overrides/_site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@

.image-card h2 {
@extend .govuk-heading-m
}

.iframe-boarder-width {
border-width: 0px;
}
4 changes: 4 additions & 0 deletions Childrens-Social-Care-CPD/wwwroot/css/application.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Childrens-Social-Care-CPD/wwwroot/css/application.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Childrens-Social-Care-CPD/wwwroot/css/application.min.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 5feb536

Please sign in to comment.