mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 03:27:05 -04:00
Fix document renderer sizing issues (3/4) (#998)
* Rework renderer columns Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
123f959fb3
commit
f7be49bbc3
4 changed files with 48 additions and 25 deletions
27
src/components/render-page/markdown-document.scss
Normal file
27
src/components/render-page/markdown-document.scss
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*!
|
||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
.markdown-document {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
overflow-y: scroll;
|
||||
overflow-x: auto;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
.markdown-document-side {
|
||||
flex: 1 0 0;
|
||||
}
|
||||
|
||||
.markdown-document-content {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
flex: 0 0 900px;
|
||||
max-width: 100%;
|
||||
width: 900px;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue