Skip to content

Commit

Permalink
fix(FEC-14244): fix label and max with of sub-ment (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
semarche-kaltura authored Nov 27, 2024
1 parent 6a8848a commit ca715a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/components/popover-menu/popover-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ $child-item-width: 170px;
top: 0;
width: $child-item-width;
left: calc(-7px - #{$child-item-width});
max-height: calc(100% * 5.8); // height - almost 6 menu items like in player caption menu
overflow-y: auto;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/transcript-menu/transcript-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class TranscriptMenu extends Component<TranscriptMenuProps, TranscriptMenuState>
testId: `language-change-menu-item-${track.label}`,
label: capitalizeFirstLetter(track.label!),
isDisabled: isLoading,
isSelected: activeTextTrack?.label === track.label,
isSelected: track.active,
onClick: () => changeLanguage(track)
}))
});
Expand Down

0 comments on commit ca715a5

Please sign in to comment.