Skip to content

Commit

Permalink
Merge pull request #701 from pcwadarong/main
Browse files Browse the repository at this point in the history
reset 버튼 위치 수정
  • Loading branch information
pcwadarong authored Sep 4, 2024
2 parents 4e20e5d + 27b3828 commit fddcfa1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/view/src/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ body {
height: 60px;
justify-content: space-between;
align-items: center;
padding: 0 20px;
padding: 0 12px 0 20px;
}

.top-container {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
flex-direction: column;
align-items: flex-end;
gap: 1rem;
position: relative;

.reset-button {
width: 3rem;
margin-right: 1rem;
text-transform: none;
background-color: var(--color-tertiary);
position: absolute;
top: 0;
}

span {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import BounceLoader from "react-spinners/BounceLoader";
import { Button } from "@mui/material";

import { useGlobalData } from "hooks";
import { useLoadingStore } from "store";

import { filterDataByDate, getMinMaxDate, lineChartTimeFormatter, sortBasedOnCommitNode } from "./TemporalFilter.util";
import "./TemporalFilter.scss";
Expand All @@ -15,7 +16,6 @@ import { useWindowResize } from "./TemporalFilter.hook";
import type { BrushXSelection } from "./LineChartBrush";
import { createBrush, drawBrush, resetBrush } from "./LineChartBrush";
import { BRUSH_MARGIN, TEMPORAL_FILTER_LINE_CHART_STYLES } from "./LineChart.const";
import { useLoadingStore } from "store";

const TemporalFilter = () => {
const { data, filteredData, setFilteredData, filteredRange, setFilteredRange, setSelectedData } = useGlobalData();
Expand Down

0 comments on commit fddcfa1

Please sign in to comment.