mirror of
https://github.com/postgres/pgweb.git
synced 2025-07-25 16:02:27 +00:00

We don't want to use django style headlines and margins in the preview, we want something that looks a bit more like the main site. It's not going to be exact (e.g. the colors will still be wrong), but it will be a lot closer than without this.
22 lines
461 B
CSS
22 lines
461 B
CSS
div.markdownpreview {
|
|
margin-top: 2px;
|
|
border: 1px solid black;
|
|
float: left;
|
|
overflow: auto;
|
|
}
|
|
|
|
div.markdownpreview p {
|
|
margin-left: 0px !important;
|
|
padding-left: 0px !important;
|
|
}
|
|
|
|
/* Override some things from django admin interface */
|
|
div.adminmarkdownpreview h2 {
|
|
background: none !important;
|
|
color: rgb(102, 102, 102) !important;
|
|
font-size: 22px !important;
|
|
}
|
|
|
|
div.adminmarkdownpreview ul,ol {
|
|
margin-left: 0px !important;
|
|
} |