mirror of https://github.com/Fabio286/antares.git
perf(UI): improved notes, fixes #746
This commit is contained in:
parent
8928510fb5
commit
bb36e98beb
|
@ -256,9 +256,9 @@ const highlightWord = (string: string) => {
|
||||||
|
|
||||||
code, pre {
|
code, pre {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
width: 100%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
// color: $primary-color;
|
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
white-space: break-spaces;
|
white-space: break-spaces;
|
||||||
|
@ -342,6 +342,8 @@ const highlightWord = (string: string) => {
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.tile-paragraph {
|
.tile-paragraph {
|
||||||
white-space: initial;
|
white-space: initial;
|
||||||
|
word-break: break-word;
|
||||||
|
user-select: text;
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6, p, li {
|
h1, h2, h3, h4, h5, h6, p, li {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
Loading…
Reference in New Issue