File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -86,20 +86,6 @@ class DayCell extends Component {
86
86
const { preview, day, styles, ranges } = this . props ;
87
87
const [ range ] = ranges ;
88
88
89
- // return (
90
- // <span
91
- // className={classnames({
92
- // [styles.dayStartPreview]: true,
93
- // [styles.dayInPreview]: false,
94
- // [styles.dayEndPreview]: false
95
- // }) }
96
- // // opacity: isStartEdge || isEndEdge ? 1 : 0.2
97
- // style={{
98
- // backgroundColor: range.color || this.props.color,
99
- // opacity: 1
100
- // }}
101
- // />
102
- // );
103
89
if ( ! preview ) return null ;
104
90
// const [range] = ranges;
105
91
@@ -135,7 +121,8 @@ class DayCell extends Component {
135
121
backgroundColor : isEndEdgerange || isStartEdgerange ? '' : range . color || this . props . color ,
136
122
opacity : isStartEdge || isEndEdge ? 1 : 0.2 ,
137
123
zIndex : 0 ,
138
- border : 'none'
124
+ border : 'none' ,
125
+ borderRadius : isEndEdgerange || isEndEdge || isStartEdgerange || isStartEdge ? '100px' : ''
139
126
} }
140
127
/>
141
128
) ;
You can’t perform that action at this time.
0 commit comments