mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-24 23:15:13 +00:00
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
1 changed files with 4 additions and 0 deletions
|
@ -72,6 +72,10 @@ watch(() => props.lang, (to) => {
|
|||
</script>
|
||||
|
||||
<style module lang="scss">
|
||||
.codeBlockRoot {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.codeBlockRoot :global(.shiki) > code {
|
||||
counter-reset: step;
|
||||
counter-increment: step 0;
|
||||
|
|
Loading…
Reference in a new issue