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

설문조사 카드 설명 overflow

parent 6e847003
...@@ -65,11 +65,11 @@ export const Login = () => { ...@@ -65,11 +65,11 @@ export const Login = () => {
value={loginData.password} value={loginData.password}
/> />
{error && ( {error && (
<div className="text-red-500 text-sm mb-6"> <div className="text-red-500 text-sm mt-3">
<p>{error}</p> <p>{error}</p>
</div> </div>
)} )}
<div className="text-center"> <div className="text-center mt-3">
<button <button
type="submit" type="submit"
disabled={loading ? true : false} disabled={loading ? true : false}
......
...@@ -52,12 +52,12 @@ export const MySurveyCard = ({ data }: Props) => { ...@@ -52,12 +52,12 @@ export const MySurveyCard = ({ data }: Props) => {
return ( return (
<div className="w-40 h-48 md:w-52 md:h-60 rounded border-2 hover:border-2 hover:border-themeColor"> <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"> <p className="font-bold">
{data.title ? data.title : "제목없는 설문조사"} {data.title ? data.title : "제목없는 설문조사"}
</p> </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"> <p className="text-gray-700">
{data.comment ? data.comment : "설명없는 설문조사"} {data.comment ? data.comment : "설명없는 설문조사"}
</p> </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