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:
Tilman Vatteroth 2021-02-02 21:53:43 +01:00 committed by GitHub
parent 123f959fb3
commit f7be49bbc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 25 deletions

View 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;
}
}