Merge pull request #267 from PsyGik/master

fix: make line numbers in code block right aligned for a consistent UI
This commit is contained in:
Timothy 2021-11-07 20:44:13 +08:00 committed by GitHub
commit 2239743376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@
}
.line-number::before {
@apply pr-4 -ml-2 text-gray-400;
@apply mr-4 -ml-2 text-gray-400 inline-block w-4 text-right;
content: attr(line);
}