Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 24 additions & 6 deletions website/modules/asset/ui/src/scss/_carousel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,37 @@
}
}
&__title {
margin: 0 0 4px;
margin: 0;
font-weight: 700;
font-size: 14px;
line-height: 110%;
@include breakpoint-medium {
line-height: 150%;
line-height: 120%;
}
color: $gray-500;
text-decoration: none;
@include truncate-lines(1);
@include truncate-lines(2);
}
&__wrapper{
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin-bottom: 4px;
@include breakpoint-medium {
margin-bottom: 8px;
}

}
&__container{
display: flex;
flex-direction: column;
justify-content: center;
min-height: 70px;
min-width: 160px;
margin-bottom: 4px;
@include breakpoint-medium {
margin-bottom: 13px;
}
}
&__subtitle {
font-weight: 500;
Expand All @@ -68,11 +89,8 @@
@include truncate-lines(1);
}
&__organization {
margin-bottom: 12px;
@include truncate-lines(1);
margin-bottom: 8px;
}

&__content {
p {
font-weight: 500;
Expand Down
15 changes: 4 additions & 11 deletions website/modules/asset/ui/src/scss/_testimonials.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,12 @@
&__bio {
display: block;
width: calc(100% - 102px);
padding: 12px 12px 0 24px;
padding: 4px 12px 0 24px;
@include breakpoint-medium {
width: calc(100% - 160px);
padding: 40px 40px 0;
padding: 32px 40px 0;
}
a {
margin-top: 8px;
font-size: 11px;
font-weight: 300;
color: $gray-500;
Expand All @@ -57,12 +56,7 @@
}
&__title {
@include breakpoint-medium {
@include font-settings(14px, 150%, 700);
}
}
&__organization {
@include breakpoint-medium {
margin-bottom: 14px;
@include font-settings(14px, 120%, 700);
}
}
&__url {
Expand Down Expand Up @@ -112,7 +106,7 @@
margin-bottom: 10px;
@include font-settings(22px, 110%, 700);
}
@include truncate-lines(1);
@include truncate-lines(2);
}

&__position {
Expand Down Expand Up @@ -162,7 +156,6 @@
}
&__bio {
width: 100%;
padding: 12px 12px 12px 24px;
@include breakpoint-medium {
padding: 0;
}
Expand Down
16 changes: 10 additions & 6 deletions website/modules/testimonials-carousel-widget/views/widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,16 @@
/>
</div>
<div class="sf-testimonial-header__bio">
<h4 class="sf-person__title">{{ card.title }}</h4>
<h5 class="sf-person__position">{{ card.position }}</h5>
{% if card.organization %}
<h5 class="sf-person__position sf-person__organization">
{{ card.organization }}
</h5>
<div class="sf-person__container">
<div class="sf-person__wrapper">
<h4 class="sf-person__title">{{ card.title }}</h4>
</div>
<h5 class="sf-person__position">{{ card.position }}</h5>
{% if card.organization %}
<h5 class="sf-person__position sf-person__organization">
{{ card.organization }}
</h5>
</div>
{% endif %} {% if card.url %}
<a href="{{ card.url }}" target="_blank" class="sf-person__url"
>{{ card.url }}</a
Expand Down
Loading