Skip to content

Commit

Permalink
Merge pull request #5488 from avalonmediasystem/fix-double-scrollbar
Browse files Browse the repository at this point in the history
Remove double scroll bar in the transcripts tab
  • Loading branch information
Dananji authored Nov 29, 2023
2 parents b94fb45 + db99616 commit 894f1ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/components/MediaObjectRamp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ const Ramp = ({
<MetadataDisplay showHeading={false} displayTitle={false}/>
</Tab>
{ (cdl.can_stream && master_files_count != 0 && has_transcripts) &&
<Tab eventKey="transcripts" title="Transcripts">
<Tab eventKey="transcripts" title="Transcripts" className="ramp-transcripts-tab">
<Transcript
playerID="iiif-media-player"
manifestUrl={manifestUrl}
Expand Down
6 changes: 6 additions & 0 deletions app/javascript/components/Ramp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,12 @@
max-height: 75vh;
overflow: auto;
}

// Remove double scroll-bar for transcripts tab
.ramp-transcripts-tab {
overflow: hidden;
}

.tab-pane:focus {
outline: 0.125rem solid #006298;
outline-offset: -0.125rem;
Expand Down

0 comments on commit 894f1ea

Please sign in to comment.