fix: commentitem strange padding
This commit is contained in:
1 file changed
+5
-1
@@ -135,7 +135,7 @@
|
|||||||
<header
|
<header
|
||||||
class={[
|
class={[
|
||||||
'grid w-full meta',
|
'grid w-full meta',
|
||||||
community ? 'grid-rows-2' : 'grid-rows-1',
|
community ? 'grid-rows-2' : 'grid-rows-1 minimal',
|
||||||
'text-xs min-w-0 max-w-full text-slate-600 dark:text-zinc-400',
|
'text-xs min-w-0 max-w-full text-slate-600 dark:text-zinc-400',
|
||||||
]}
|
]}
|
||||||
class:compact={view == 'compact'}
|
class:compact={view == 'compact'}
|
||||||
@@ -358,6 +358,10 @@
|
|||||||
grid-template-columns: 40px minmax(0, auto);
|
grid-template-columns: 40px minmax(0, auto);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.meta.minimal {
|
||||||
|
grid-template-columns: auto;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 480px) {
|
@media screen and (max-width: 480px) {
|
||||||
.meta.compact {
|
.meta.compact {
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
|
|||||||
Reference in new issue
Block a user