Skip to content

Commit

Permalink
fix styles and img error handle to prevent infinite loads on browser
Browse files Browse the repository at this point in the history
  • Loading branch information
bhansa committed Sep 14, 2024
1 parent e4f931d commit cd9294b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/_includes/components/speaker-page-component.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="container">
<div class="speaker text-center bg-speaker p-4">
<div class="speaker-photo">
<img src="/image/speakers/{{ speaker.name | slugify}}.jpg" onerror="this.src='/2024/image/Group%204790.svg'" width="400" />
<img src="/image/speakers/{{ speaker.name | slugify}}.jpg" onerror="this.onerror=null;this.src='/2024/image/Group%204790.svg';" width="400" />
</div>
<div class="speaker-details">
<h1 class="speakerheading title-2 mb-2">{{speaker.name}}</h1>
Expand Down
7 changes: 7 additions & 0 deletions src/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,14 @@ path {
border-bottom: 1px solid #f3f3f3;
justify-content: center;
display: flex;
display: -webkit-flex;
list-style: none;
gap: 2em;
}

.schedule-tabs-menu li{
display: flex;
display: -webkit-flex;
}

.schedule-tab-link {
Expand Down

0 comments on commit cd9294b

Please sign in to comment.