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