Skip to content

Commit

Permalink
Limit institution banner image size (#2394)
Browse files Browse the repository at this point in the history
  • Loading branch information
futa-ikeda authored Nov 15, 2024
1 parent 3a51a9e commit f5ced50
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
justify-content: space-between;
}

.institution-banner {
max-width: 100%;
max-height: 300px;
}

.tab-list {
@include clamp-width;
@include tab-list;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
local-class='heading-wrapper'
>
<div local-class='banner'>
<img src='{{@institution.bannerUrl}}' alt='{{@institution.name}}'>
<img local-class='institution-banner' src='{{@institution.bannerUrl}}' alt='{{@institution.name}}'>
</div>
<ul
data-analytics-scope='Dashboard tabs'
Expand Down

0 comments on commit f5ced50

Please sign in to comment.