mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-26 16:03:08 +02: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