Skip to content

Commit

Permalink
Put back little changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyEJohnson committed Nov 14, 2024
1 parent a4dd422 commit 9ff533c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/content/components/Page/PageComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export default class PageComponent extends Component<PagePropTypes> {
// Wait for the mathjax promise set by postProcess from previous or current componentDidUpdate call.
await Promise.all(this.processing);

this.container.current?.focus();
this.scrollToTopOrHashManager(prevProps.scrollToTopOrHash, this.props.scrollToTopOrHash);

const searchHighlightsChanged = !isEqual(
Expand Down
4 changes: 4 additions & 0 deletions src/app/content/components/Page/PageContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ export default styled(MainContent)`
${contentTextStyle}
overflow: visible;
:focus-visible {
outline: none;
}
@media screen {
flex: 1;
display: flex;
Expand Down

0 comments on commit 9ff533c

Please sign in to comment.