Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
survey
Commits
9b0fa64f
Commit
9b0fa64f
authored
Jul 27, 2022
by
Jiwon Yoon
Browse files
설문조사 카드 설명 overflow
parent
6e847003
Changes
2
Hide whitespace changes
Inline
Side-by-side
frontend/src/auth/Login.tsx
View file @
9b0fa64f
...
@@ -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 m
b-6
"
>
<
div
className
=
"text-red-500 text-sm m
t-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
}
...
...
frontend/src/profile/MySurveyCard.tsx
View file @
9b0fa64f
...
@@ -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
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment