mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-29 18:50:07 +00:00
55 lines
No EOL
833 B
SCSS
55 lines
No EOL
833 B
SCSS
inline-markdown {
|
|
display: block;
|
|
}
|
|
|
|
.markdown-wrapper {
|
|
min-height: 60px;
|
|
max-height: 600px;
|
|
margin-bottom: 20px;
|
|
display: block;
|
|
box-sizing: border-box;
|
|
border: none;
|
|
resize: both;
|
|
overflow: auto;
|
|
position: relative;
|
|
cursor: text;
|
|
|
|
&.is-editing {
|
|
min-height: 160px;
|
|
}
|
|
|
|
.resize-to-fit {
|
|
position: absolute;
|
|
right: 14px;
|
|
top: 0;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.markdown-unparsed,
|
|
.markdown-parsed {
|
|
padding: 10px 14px;
|
|
margin: 0;
|
|
width: 100%;
|
|
word-wrap: break-word;
|
|
display: block;
|
|
border: none;
|
|
resize: none;
|
|
overflow: auto;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
background: #fbefdd;
|
|
@include dark-theme {
|
|
background-color: $dark-theme-bg;
|
|
color: #eeeeee;
|
|
}
|
|
}
|
|
|
|
.markdown-parsed {
|
|
p:first-child {
|
|
margin-top: 0;
|
|
}
|
|
ul {
|
|
padding-left: 18px;
|
|
}
|
|
} |