prettier tailwind

This commit is contained in:
Timothy Lin
2022-01-31 23:58:10 +08:00
parent 7bf39de73c
commit 2eaac5ae31
26 changed files with 92 additions and 82 deletions

View File

@ -7,7 +7,7 @@
/* Code title styles */
.remark-code-title {
@apply px-5 py-3 font-mono text-sm font-bold text-gray-200 bg-gray-700 rounded-t;
@apply rounded-t bg-gray-700 px-5 py-3 font-mono text-sm font-bold text-gray-200;
}
.remark-code-title + div > pre {
@ -20,7 +20,7 @@
}
.code-line {
@apply block pl-4 pr-4 -mx-4 border-l-4 border-transparent;
@apply -mx-4 block border-l-4 border-transparent pl-4 pr-4;
}
.code-line.inserted {
@ -32,11 +32,11 @@
}
.highlight-line {
@apply -mx-4 bg-gray-700 bg-opacity-50 border-l-4 border-primary-500;
@apply -mx-4 border-l-4 border-primary-500 bg-gray-700 bg-opacity-50;
}
.line-number::before {
@apply inline-block w-4 mr-4 -ml-2 text-right text-gray-400;
@apply mr-4 -ml-2 inline-block w-4 text-right text-gray-400;
content: attr(line);
}