Skip to content

Commit ca4ca25

Browse files
committed
adjust styles
1 parent c1cf182 commit ca4ca25

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/app/data-table.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ const columns = [
135135
<div
136136
className="week-range"
137137
style={{
138-
// marginLeft: `${position >= 98 ? 96 : position}%`,
139-
marginLeft: position < 95 ? `${position}%` : `calc(${position}% - 4px)`,
138+
marginLeft: `${position}%`,
140139
backgroundColor:
141140
position >= 75
142141
? 'var(--chakra-colors-blue-500)'

src/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ h6 {
185185
background-color: var(--chakra-colors-gray-200);
186186
position: relative;
187187
margin-top: 2px;
188+
padding-right: 4px;
188189
}
189190

190191
.week-range {

src/utils/chart.util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ export const chartOptions = (
328328
buttons: [
329329
{
330330
type: 'month',
331-
count: 6,
331+
count: 8,
332332
text: 'D',
333333
title: 'Day',
334334
dataGrouping: {

0 commit comments

Comments
 (0)