Skip to content

Commit

Permalink
feat: adjust diff viewer to fit mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
libra-co committed May 17, 2024
1 parent 043202f commit 9f3aaf9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion frontend/src/pages/sdoc/sdoc-file-history/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@


.sdoc-file-history .sdoc-file-history-content {
display: flex;
height: 100%;
width: 100%;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/sdoc/sdoc-file-history/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ class SdocFileHistory extends React.Component {
</div>
{this.renderChangesTip({ onChangeSidePanelDisplay: this.changeSidePanelStatus })}
</div>
<div className="sdoc-file-history-content f-flex" ref={ref => this.historyContentRef = ref}>
<div className="sdoc-file-history-content d-flex" ref={ref => this.historyContentRef = ref}>
{isLoading ? (
<div className="sdoc-file-history-viewer d-flex align-items-center justify-content-center">
<Loading />
Expand Down

0 comments on commit 9f3aaf9

Please sign in to comment.