Skip to content

Commit

Permalink
fix(Authoring): Outside Resource model images extend beyond card (#1321)
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreykwan authored Jun 28, 2023
1 parent e9d3d67 commit 4b63ad7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
class="oer-card-image"
style="background-image: url('{{ openEducationalResource.thumbnail }}');"
></div>
<mat-card-actions fxLayout="row" fxLayoutAlign="start center">
<mat-card-actions class="oer-card-actions" fxLayout="row" fxLayoutAlign="start center">
<mat-icon
class="success"
aria-label="Selected"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,21 @@ p.select-oer-instructions {

.oer-card-title {
font-size: 14px;
padding-left: 16px;
padding-right: 16px;
}

.oer-card-image {
margin-left: -16px;
margin-right: -16px;
position: relative;
padding-top: 60%;
background-size: cover;
background-position: center;
}

.oer-card-actions {
padding: 0px 16px 0px 16px !important;
}

.oer-card-actions-spacer {
flex: 1 1 auto;
}
Expand Down

0 comments on commit 4b63ad7

Please sign in to comment.