Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/OpenPecha/Pecha.org into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Lungsangg committed Dec 26, 2024
2 parents 0fca372 + ff5baa1 commit 6cd976e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions static/css/s2.css
Original file line number Diff line number Diff line change
Expand Up @@ -6429,6 +6429,7 @@ body .ui-autocomplete.dictionary-toc-autocomplete .ui-menu-item a.ui-state-focus

.segment .segmentText {
display: inline;
margin-right: 20px;
}

.segment > .he,
Expand Down Expand Up @@ -6464,6 +6465,7 @@ body .ui-autocomplete.dictionary-toc-autocomplete .ui-menu-item a.ui-state-focus
padding-inline-start: initial;
display: inline;
margin-inline-end: .5em;
padding-right: 20px;
}

.continuous .segment .segmentText br {
Expand Down
4 changes: 2 additions & 2 deletions static/js/BookPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class BookPage extends Component {
[
this.props.multiPanel ? {type: "AboutText", props: {index: this.state.indexDetails}} : {type: null},
{type: "Promo"},
{type: "RelatedTopics", props: { title: this.props.title}},
{type: "RelatedTopics", props: { title: this.props.title}},
!isDictionary ? {type: "DownloadVersions", props:{sref: this.props.title}} : {type: null},
];

Expand Down Expand Up @@ -334,7 +334,7 @@ class BookPage extends Component {
<LoadingMessage />
}
</div>
{this.isBookToc() && ! this.props.compare ?
{this.isBookToc() && ! this.props.compare && !this.props.isNarrowColumn ?
<NavSidebar modules={sidebarModules} /> : null}
</div>
{this.isBookToc() && ! this.props.compare ?
Expand Down

0 comments on commit 6cd976e

Please sign in to comment.