mirror of https://github.com/rancher/dashboard.git
More spacing for Markdown formatting
This commit is contained in:
parent
22224251d4
commit
ed76f4ed88
|
|
@ -49,6 +49,7 @@ export default {
|
||||||
.md {
|
.md {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
line-height: 1.6;
|
||||||
|
|
||||||
::v-deep {
|
::v-deep {
|
||||||
* + H1,
|
* + H1,
|
||||||
|
|
@ -62,9 +63,12 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep code {
|
::v-deep code {
|
||||||
padding: 0;
|
font-size: 13.5px;
|
||||||
white-space: break-spaces;
|
white-space: break-spaces;
|
||||||
word-break: break-word;
|
word-wrap: break-word;
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 5px;
|
||||||
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep pre {
|
::v-deep pre {
|
||||||
|
|
@ -75,6 +79,10 @@ export default {
|
||||||
::v-deep > h1:first-of-type {
|
::v-deep > h1:first-of-type {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::v-deep p {
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,8 @@ export default {
|
||||||
<Loading v-else />
|
<Loading v-else />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss">
|
||||||
|
|
||||||
::v-deep {
|
::v-deep {
|
||||||
P {
|
P {
|
||||||
font-size: initial;
|
font-size: initial;
|
||||||
|
|
@ -88,9 +89,40 @@ export default {
|
||||||
letter-spacing: initial;
|
letter-spacing: initial;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown {
|
||||||
TH {
|
TH {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table tr th {
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: left;
|
||||||
|
margin: 0;
|
||||||
|
padding: 6px 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table tr th {
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: left;
|
||||||
|
margin: 0;
|
||||||
|
padding: 6px 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr td {
|
||||||
|
text-align: left;
|
||||||
|
margin: 0;
|
||||||
|
padding: 6px 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr th :first-child, table tr td :first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
table tr th :last-child, table tr td :last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue