Commit 9b0fa64f authored by Jiwon Yoon's avatar Jiwon Yoon
Browse files

설문조사 카드 설명 overflow

parent 6e847003
......@@ -65,11 +65,11 @@ export const Login = () => {
value={loginData.password}
/>
{error && (
<div className="text-red-500 text-sm mb-6">
<div className="text-red-500 text-sm mt-3">
<p>{error}</p>
</div>
)}
<div className="text-center">
<div className="text-center mt-3">
<button
type="submit"
disabled={loading ? true : false}
......
......@@ -52,12 +52,12 @@ export const MySurveyCard = ({ data }: Props) => {
return (
<div className="w-40 h-48 md:w-52 md:h-60 rounded border-2 hover:border-2 hover:border-themeColor">
<button className="w-full" onClick={editSurvey}>
<button className="w-full mt-2" onClick={editSurvey}>
<p className="font-bold">
{data.title ? data.title : "제목없는 설문조사"}
</p>
<div className="h-24 md:h-36 p-3 text-ellipsis overflow-y-scroll">
<div className="h-24 md:h-36 p-3 overflow-y-hidden hover:overflow-y-auto">
<p className="text-gray-700">
{data.comment ? data.comment : "설명없는 설문조사"}
</p>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment