style: align post title and upvote elements vertically
This commit is contained in:
1 parent
751228b254
commit
a6adab8d64
1 file changed
+20
@@ -61,6 +61,26 @@
|
|||||||
.comment-header small.reply {
|
.comment-header small.reply {
|
||||||
@apply underline text-xs cursor-pointer ml-2 inline-block;
|
@apply underline text-xs cursor-pointer ml-2 inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-header {
|
||||||
|
@apply flex items-center space-x-2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-header .post-title {
|
||||||
|
@apply text-text-title font-normal text-base;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-header .upvote-arrow {
|
||||||
|
@apply text-text-muted no-underline text-md leading-none inline-block pt-0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-header .upvote-arrow:hover {
|
||||||
|
@apply text-link-hover;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-header .upvote-count {
|
||||||
|
@apply text-text-muted text-sm;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Any absolutely custom styles that don't fit in Tailwind's utility pattern */
|
/* Any absolutely custom styles that don't fit in Tailwind's utility pattern */
|
||||||
|
|||||||
Reference in new issue
Block a user