Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
panaC committed Dec 2, 2024
1 parent 77ca096 commit 168c644
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/renderer/reader/components/ReaderHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import * as debug_ from "debug";
import * as React from "react";
import * as Popover from "@radix-ui/react-popover";
import * as Dialog from "@radix-ui/react-dialog";
import * as VisuallyHidden from "@radix-ui/react-visually-hidden";

// import * as ReactDOM from "react-dom";
import { ReaderMode } from "readium-desktop/common/models/reader";
Expand Down Expand Up @@ -1162,11 +1161,7 @@ export class ReaderHeader extends React.Component<IProps, IState> {
height: /*isDockedMode && isOnSearch ? "calc(100dvh - 159px)" :*/ "",
marginTop: /*isDockedMode && !isOnSearch ? "70px" :*/ "20px",
}}
aria-describedby={undefined}
>
<VisuallyHidden.Root>
<Dialog.Title>{__("reader.navigation.settingsTitle")}</Dialog.Title>
</VisuallyHidden.Root>
{/* TODO remove readerSettingsHeaderProps */}
<ReaderSettings
{...readerSettingsHeaderProps}
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/reader/components/ReaderSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@ export const ReaderSettings: React.FC<IBaseProps> = (props) => {
{diffBetweenDefaultConfigAndConfig ? <span className={stylesSettings.notification_preset}></span> : <></>}
</Tabs.Trigger>
<p style={{margin: "-5px 20px 0 60px"}}>{__("reader.settings.preset.detail")}</p>
</>;
</ React.Fragment>;
const optionPresetItem = { id: 6, value: "tab-preset", name: __("reader.settings.preset.title"), disabled: false, svg: GuearIcon };

const AllowCustomContainer = () =>
Expand Down

0 comments on commit 168c644

Please sign in to comment.