memos/web/src/less/memo-resources.less

20 lines
468 B
Plaintext
Raw Normal View History

2022-09-09 02:53:02 +03:00
.resource-wrapper {
@apply w-full flex flex-col justify-start items-start;
> .images-wrapper {
@apply w-full grid grid-cols-2 sm:grid-cols-3 gap-2 mt-2;
2022-09-09 02:53:02 +03:00
2022-11-24 15:22:54 +03:00
> .memo-resource {
@apply shadow rounded overflow-hidden hide-scrollbar;
2022-09-09 02:53:02 +03:00
> img {
@apply cursor-pointer min-h-full w-auto min-w-full object-cover;
2022-11-17 16:01:26 +03:00
}
> video {
@apply cursor-pointer w-full h-full object-contain bg-zinc-100 dark:bg-zinc-800;
2022-09-09 02:53:02 +03:00
}
}
}
}