Skip to content

Commit

Permalink
Fix subtitle button height
Browse files Browse the repository at this point in the history
Some button at the top of the subtitle editor were
not the right height. This patch should fix that.
  • Loading branch information
Arnei committed Dec 19, 2024
1 parent cdaf937 commit 20394ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/SubtitleEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ const SubtitleEditor: React.FC = () => {

const subtitleButtonStyle = (theme: Theme) => css({
fontSize: "16px",
height: "10px",
height: "42px",
padding: "16px",
justifyContent: "space-around",
boxShadow: `${theme.boxShadow}`,
Expand All @@ -188,13 +188,13 @@ const DeleteButton: React.FC = () => {
return (
<>
<ThemedTooltip title={t("subtitles.deleteButton-tooltip")}>
<div css={[basicButtonStyle(theme), subtitleButtonStyle(theme)]}
role="button"
<ProtoButton
onClick={() => modalRef.current?.open()}
css={[basicButtonStyle(theme), subtitleButtonStyle(theme)]}
>
<LuTrash2 css={{ fontSize: "16px" }}/>
<span>{t("subtitles.deleteButton-title")}</span>
</div>
</ProtoButton>
</ThemedTooltip>
{/* Hidden input field for upload */}
<ConfirmationModal
Expand Down

0 comments on commit 20394ed

Please sign in to comment.