Toggle navigation
Toggle navigation
This project
Loading...
Sign in
HyeonJun Jeon
/
Extended-Calendar
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
HyeonJun Jeon
2022-06-06 05:41:04 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bf7f82b694427bc312c9f5cd4179438e986eba72
bf7f82b6
1 parent
e2407127
[FIx] Adjust contents size, Sync schedule color
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
src/components/ScheduleItem.js
src/styles/App.css
src/styles/Side.css
src/components/ScheduleItem.js
View file @
bf7f82b
import
{
useContext
}
from
"react"
;
import
{
CalendarStateContext
}
from
"../pages/Calendar"
;
import
zoomSymbol
from
"../assets/zoom.png"
;
import
ecampusSymbol
from
"../assets/e-Campus.png"
;
...
...
@@ -32,7 +29,7 @@ const ScheduleItem = ({ schedule }) => {
};
return
(
<
div
className
=
"ScheduleItem"
style
=
{{
borderColor
:
subjectColor
}}
>
<
div
className
=
"ScheduleItem"
style
=
{{
borderColor
:
"#"
+
subjectColor
}}
>
<
img
className
=
"s_symbol"
src
=
{
selectSymbol
()}
alt
=
"404"
/>
{
startTime
&&
(
<
span
className
=
"s_start"
>
{
startTime
[
0
]
+
":"
+
startTime
[
1
]}
<
/span
>
...
...
src/styles/App.css
View file @
bf7f82b
...
...
@@ -48,7 +48,6 @@ button:disabled {
}
.ScheduleItem
{
height
:
23px
;
display
:
flex
;
margin
:
1px
0
1px
0
;
border
:
solid
3px
bisque
;
...
...
src/styles/Side.css
View file @
bf7f82b
aside
{
width
:
220px
;
flex-shrink
:
0
;
margin-right
:
8px
;
padding-top
:
50px
;
}
...
...
Please
register
or
login
to post a comment