Skip to content

Commit

Permalink
style(seed-docs): add doCard, dontCard width, height
Browse files Browse the repository at this point in the history
  • Loading branch information
junghyeonsu committed Mar 14, 2024
1 parent 9c686da commit dd859c2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/src/components/mdx/DoDont.css.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { classNames, vars } from "@seed-design/design-token";
import { style } from "@vanilla-extract/css";
import { globalStyle, style } from "@vanilla-extract/css";

import * as m from "../../styles/media.css";
import * as u from "../../styles/utils.css";
Expand Down Expand Up @@ -29,6 +29,15 @@ export const dontCard = style([
},
]);

globalStyle(`${doCard} > img`, {
width: "100%",
height: "100%",
});
globalStyle(`${dontCard} > img`, {
width: "100%",
height: "100%",
});

const icon = style([
u.flexCenter,
{
Expand Down

0 comments on commit dd859c2

Please sign in to comment.