always align code to the left - fixes #436
"featured notes" on the welcome page's right-hand column are shown with the text right-aligned; code should not be affected by that. This makes sure it isn't
This commit is contained in:
parent
2e55108b6b
commit
03464cc379
|
@ -72,6 +72,10 @@ watch(() => props.lang, (to) => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style module lang="scss">
|
<style module lang="scss">
|
||||||
|
.codeBlockRoot {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
.codeBlockRoot :global(.shiki) > code {
|
.codeBlockRoot :global(.shiki) > code {
|
||||||
counter-reset: step;
|
counter-reset: step;
|
||||||
counter-increment: step 0;
|
counter-increment: step 0;
|
||||||
|
|
Loading…
Reference in New Issue