fix #32: remove rest css modules
All checks were successful
/ depoly (push) Successful in 1m28s
All checks were successful
/ depoly (push) Successful in 1m28s
This commit is contained in:
parent
8854a3b86a
commit
4718239723
23 changed files with 189 additions and 167 deletions
|
@ -20,7 +20,7 @@ import { useStore } from "@nanostores/solid";
|
|||
import { $settings } from "../../settings/stores";
|
||||
import { averageColorHex } from "~platform/blurhash";
|
||||
import "./MediaAttachmentGrid.css";
|
||||
import cardStyle from "~material/cards.module.css";
|
||||
import "~material/cards.css";
|
||||
import { Preview } from "@suid/icons-material";
|
||||
import { IconButton } from "@suid/material";
|
||||
import Masonry from "~platform/Masonry";
|
||||
|
@ -153,7 +153,7 @@ const MediaAttachmentGrid: Component<{
|
|||
<Masonry
|
||||
component="section"
|
||||
ref={setRootRef}
|
||||
class={`MediaAttachmentGrid ${cardStyle.cardNoPad}`}
|
||||
class={`MediaAttachmentGrid card-gut`}
|
||||
classList={{
|
||||
sensitive: props.sensitive,
|
||||
}}
|
||||
|
|
|
@ -75,7 +75,7 @@ export function PreviewCard(props: {
|
|||
return (
|
||||
<a
|
||||
ref={root!}
|
||||
class={"PreviewCard"}
|
||||
class={"PreviewCard card-pad card-gut"}
|
||||
href={props.src.url}
|
||||
target="_blank"
|
||||
referrerPolicy="unsafe-url"
|
||||
|
|
|
@ -19,7 +19,7 @@ function TootAuthorGroup(
|
|||
const { dateFn: dateFnLocale } = useAppLocale();
|
||||
|
||||
return (
|
||||
<div class="TootAuthorGroup" {...rest}>
|
||||
<div class="TootAuthorGroup card-gut card-pad" {...rest}>
|
||||
<Img src={toot().account.avatar} class="avatar" />
|
||||
<div class="name-grp">
|
||||
<div class="name-primary">
|
||||
|
|
|
@ -75,7 +75,7 @@ const TootContent: Component<TootContentProps> = (oprops) => {
|
|||
}
|
||||
});
|
||||
}}
|
||||
class={`TootContent ${props.class || ""}`}
|
||||
class={`TootContent card-gut card-pad ${props.class || ""}`}
|
||||
{...rest}
|
||||
>
|
||||
<Show when={props.sensitive}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue