Skip to content

Commit

Permalink
Product Page: Fix overflow on faculty info boxes (#1945)
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav authored Oct 6, 2023
1 parent bf7a50d commit 6312275
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions frontend/public/scss/product-faculty-members.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,21 @@

width: calc(50% - 44px);
margin: 0 22px 24px;
min-width: min-content;

.member-card {
padding: 24px;
overflow: hidden;
border-radius: 4px !important;
box-shadow: 0 1px 0 0 rgb(0 0 0 / 12%);
display: flex;

@include media-breakpoint-down(sm) {
display: block;
}

.member-info {
overflow: hidden;
margin-top: 7px;
display: flow-root;

@include media-breakpoint-down(md) {
margin-top: 20px;
Expand Down Expand Up @@ -59,12 +64,11 @@
width: 110px;
border-radius: 50%;
object-fit: cover;
margin-right: 24px;
margin: 0 24px 20px 0;

@include media-breakpoint-down(sm) {
display: block;
float: none;
margin: 0 auto 10px;
}
}
}
Expand Down

0 comments on commit 6312275

Please sign in to comment.