Skip to content

Commit

Permalink
fix(toolbar): reduce height if read-only (#8976)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored May 31, 2023
1 parent 776e70a commit 9e91c72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/document/toolbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ export default function Toolbar({
<EditActions source={doc.source} />
</div>
{isReadOnly && (
<p>
<div>
<i>
You're in <b>read-only</b> mode.
</i>
</p>
</div>
)}
<ToggleDocumentFlaws doc={doc} reloadPage={reloadPage} />
</div>
Expand Down

0 comments on commit 9e91c72

Please sign in to comment.