Skip to content

Commit

Permalink
fix: apply max width to partner logo (#177)
Browse files Browse the repository at this point in the history
to avoid overstretchin' on wider screens :)
  • Loading branch information
binodpant committed Dec 15, 2021
1 parent d472f4d commit 4a80c68
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/catalogs/styles/_enterprise_catalogs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
left: 2%;
top: 230px;
width: 12vw;
max-width: 200px;
min-width: 200px;
height: 70%;
max-height: 90px;
Expand All @@ -79,10 +80,10 @@
line-height: 24px;
}

// cc - course card
// cc - course card
.cc-partner-logo {
left: 5%;
height: auto;
height: auto;
object-fit: cover;
position: absolute;
z-index: 1;
Expand All @@ -93,7 +94,7 @@
0 2px 2px rgba(128, 128, 128, 0.1);
}
.cc-course-image {
height: 100px;
height: 100px;
object-fit: cover;
width: auto;
}
Expand All @@ -116,7 +117,7 @@
.banner-section {
margin-right: 16px;
line-height: 24px;
color: $primary-300
color: $primary-300;
}

.slash {
Expand Down

0 comments on commit 4a80c68

Please sign in to comment.