Skip to content

Commit 9567d16

Browse files
committed
chore(alert): make alert more responsive
1 parent c9a3781 commit 9567d16

File tree

1 file changed

+2
-2
lines changed
  • packages/core/theme/src/components

1 file changed

+2
-2
lines changed

packages/core/theme/src/components/alert.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ import {tv} from "../utils/tv";
2222
*/
2323
const alert = tv({
2424
slots: {
25-
base: ["flex flex-row w-[342px] h-17 p-3"],
25+
base: ["flex flex-row w-[260px] sm:w-[342px] h-17 p-3"],
2626
title: ["text-medium font-normal block h-6"],
2727
description: ["text-small font-normal h-5"],
28-
mainWrapper: ["w-[268px] h-11 ms-5 flex flex-col box-border items-start"],
28+
mainWrapper: ["sm:w-[268px] w-[186px] h-11 ms-5 flex flex-col box-border items-start"],
2929
closeButton: ["w-6 h-6 cursor-pointer relative"],
3030
closeIcon: ["fill-current"],
3131
},

0 commit comments

Comments
 (0)