Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
students
Today KU
Commits
3d73bac1
Commit
3d73bac1
authored
Nov 10, 2021
by
Choi Ga Young
Browse files
카드 내부 스크롤
parent
49dc16a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
client/src/components/StudyPlan/StudyPlanCard.js
View file @
3d73bac1
import
{
Link
}
from
"
react-router-dom
"
;
import
PlanLineList
from
"
./PlanLineList
"
;
import
style
from
"
./studyplan.module.scss
"
;
const
StudyPlanCard
=
({
renList
,
handleClick
,
handleEdit
})
=>
{
return
(
<
Link
className
=
"
card text-decoration-none link-dark mb-3
"
to
=
{
`/studyplan/
${
renList
.
id
}
`
}
style
=
{{
width
:
"
20rem
"
}}
>
<
div
className
=
"
card-body
"
>
<
div
className
=
"
card-body
"
style
=
{{
height
:
"
150px
"
}}
>
<
div
className
=
"
d-flex
"
>
<
h5
className
=
"
card-title col-10 text-nowrap
"
style
=
{{
overflow
:
"
hidden
"
,
textOverflow
:
"
ellipsis
"
}}
>
{
renList
.
name
}
<
/h5
>
<
div
className
=
"
col-2 d-flex justify-content-end
"
>
...
...
@@ -15,7 +16,9 @@ const StudyPlanCard = ({ renList, handleClick, handleEdit }) => {
<
/div
>
<
/div
>
<
p
className
=
"
card-subtitle ms-1 mb-2 text-muted
"
>
{
renList
.
prof
&&
renList
.
room
?
renList
.
prof
+
'
-
'
+
renList
.
room
:
(
renList
.
prof
||
renList
.
room
)}
<
/p
>
<
PlanLineList
subjectId
=
{
renList
.
id
}
planList
=
{
renList
.
planList
}
handleClick
=
{
handleEdit
}
/
>
<
div
className
=
{
`
${
style
.
inCard
}
`
}
style
=
{{
height
:
"
60px
"
}}
>
<
PlanLineList
subjectId
=
{
renList
.
id
}
planList
=
{
renList
.
planList
}
handleClick
=
{
handleEdit
}
/
>
<
/div
>
<
/div
>
<
/Link
>
)
...
...
client/src/components/StudyPlan/studyplan.module.scss
View file @
3d73bac1
...
...
@@ -3,6 +3,10 @@
overflow-y
:
auto
;
}
.inCard
{
overflow
:
scroll
;
}
.checkBox
{
border-color
:
black
;
...
...
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