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
Today KU
Commits
4e0be6e8
Commit
4e0be6e8
authored
Oct 29, 2021
by
Kim, Subin
Browse files
scheduleList
parent
9a236e04
Changes
3
Hide whitespace changes
Inline
Side-by-side
client/src/components/Schedule/ScheduleItem.js
View file @
4e0be6e8
...
...
@@ -26,7 +26,7 @@ const ScheduleItem = () => {
<
p
className
=
{
`mb-0
${
styles
.
period
}
`
}
>
2021.01
.
151
~
2021.09
.
35
<
/p
>
<
/button
>
<
div
id
=
"
flush-collapseOne
"
className
=
"
accordion-collapse collapse
"
aria
-
labelledby
=
"
flush-headingOne
"
data
-
bs
-
parent
=
"
#scheduleList
"
>
<
div
className
=
{
`accordion-body px-0 pt-2
${
styles
.
textBox
}
`
}
>
<
div
className
=
{
`accordion-body px-0 pt-2
pb-0 mb-3
${
styles
.
textBox
}
`
}
>
<
div
className
=
"
d-flex align-items-start
"
>
<
i
className
=
"
col bi bi-geo-alt fs-5
"
><
/i
>
<
div
className
=
"
col-11
"
>
...
...
@@ -35,7 +35,7 @@ const ScheduleItem = () => {
<
/div
>
dlkasjflsajflasjflsakfjlsajflalsafjsask
<
br
/>
fjlakdjflajflaksj
lksajdlksajs
dslkafjlsakflksjflasjflksjslakjflsakjflsajflsakjlasjflksajlfsja
<
div
className
=
"
d-flex justify-content-end mt-3
"
>
<
Link
className
=
"
btn btn-
white
btn-sm border-dark
"
to
=
"
/schedule/edit
"
>
수정
<
/Link
>
<
Link
className
=
"
btn btn-
light
btn-sm border-dark
"
to
=
"
/schedule/edit
"
>
수정
<
/Link
>
<
button
type
=
"
button
"
className
=
"
btn btn-crimson btn-sm ms-2
"
onClick
=
{
delSchedule
}
>
삭제
<
/button
>
<
/div
>
<
/div
>
...
...
client/src/components/Schedule/ScheduleList.js
View file @
4e0be6e8
...
...
@@ -3,14 +3,12 @@ import styles from "./schedule.module.scss";
const
ScheduleList
=
()
=>
{
return
(
<
div
className
=
{
`accordion accordion-flush
${
styles
.
list
}
`
}
id
=
"
scheduleList
"
>
<
Item
/>
<
Item
/>
<
Item
/>
<
Item
/>
<
Item
/>
<
Item
/>
<
Item
/>
<
div
className
=
{
styles
.
list
}
>
<
div
className
=
{
`accordion accordion-flush`
}
id
=
"
scheduleList
"
>
<
Item
/>
<
Item
/>
<
Item
/>
<
/div
>
<
/div
>
)
}
...
...
client/src/components/Schedule/schedule.module.scss
View file @
4e0be6e8
.list
{
height
:
60vh
;
overflow-y
:
auto
;
margin-bottom
:
10vh
;
}
.activeBtn
{
...
...
@@ -33,6 +35,7 @@
// 숨겨졌을 때
&
[
class
~=
"collapsed"
]
{
border-bottom
:
0
;
&
.title
{
white-space
:
nowrap
;
overflow
:
hidden
;
...
...
@@ -56,6 +59,7 @@
.textBox
{
white-space
:
pre-wrap
;
word-break
:
break-all
;
background-color
:
#fff5f7
;
}
.header
{
...
...
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