Adjust calendar headings (#3656)
This commit is contained in:
parent
d7f9a45f68
commit
000179c5ca
@ -50,7 +50,7 @@ function Day ({ className, date, hasNextDay, now, scheduled, setNextDay, setPrev
|
||||
return (
|
||||
<div className={className}>
|
||||
<h1>
|
||||
<div>{date.getDate()} {monthRef.current[date.getMonth()]} {date.getFullYear()} {isToday && <DayTime />}</div>
|
||||
<div className='highlight--color'>{date.getDate()} {monthRef.current[date.getMonth()]} {date.getFullYear()} {isToday && <DayTime />}</div>
|
||||
<Button.Group>
|
||||
<Button
|
||||
icon='chevron-left'
|
||||
|
||||
@ -44,7 +44,7 @@ function Month ({ className, hasNextMonth, lastDay, now, scheduled, setDay, setN
|
||||
return (
|
||||
<div className={className}>
|
||||
<h1>
|
||||
<div>{monthRef.current[dateMonth.getMonth()]} {dateMonth.getFullYear()}</div>
|
||||
<div className='highlight--color'>{monthRef.current[dateMonth.getMonth()]} {dateMonth.getFullYear()}</div>
|
||||
<Button.Group>
|
||||
<Button
|
||||
icon='chevron-left'
|
||||
|
||||
@ -146,16 +146,14 @@ export default React.memo(styled(CalendarApp)`
|
||||
flex-wrap: nowrap;
|
||||
|
||||
> div {
|
||||
background-color: #fff;
|
||||
border: 1px solid #eeecea;
|
||||
border-radius: 0.25rem;
|
||||
|
||||
&+div {
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
|
||||
> div {
|
||||
background-color: #fff;
|
||||
border: 1px solid #eeecea;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.ui--Button-Group {
|
||||
margin-top: 0;
|
||||
}
|
||||
@ -165,7 +163,7 @@ export default React.memo(styled(CalendarApp)`
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0 0 0 1rem;
|
||||
padding: 0.5rem 0.5rem 0 1rem;
|
||||
|
||||
.ui--Button {
|
||||
font-size: 1rem;
|
||||
|
||||
@ -54,7 +54,7 @@ export default React.memo(styled(Head)`
|
||||
th {
|
||||
font-family: sans-serif;
|
||||
font-weight: 100;
|
||||
padding: 0.75rem 1rem 0.5rem;
|
||||
padding: 0.75rem 1rem 0.25rem;
|
||||
text-align: right;
|
||||
vertical-align: baseline;
|
||||
white-space: nowrap;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user