Skip to content

Commit

Permalink
Refactored UpdateSession
Browse files Browse the repository at this point in the history
  • Loading branch information
aadhil2k4 committed Feb 1, 2025
1 parent 3379278 commit e53c405
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/components/UpdateSession/UpdateSession.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,18 +177,6 @@ const UpdateTimeout: React.FC<TestInterfaceUpdateTimeoutProps> = ({
step={5}
min={15}
max={60}
sx={{
'& .MuiSlider-track': {
backgroundColor: '#1778f2',
border: 'none',
},
'& .MuiSlider-thumb': {
backgroundColor: '#1778f2',
},
'& .MuiSlider-rail': {
backgroundColor: '#E6E6E6',
},
}}
className={styles.slider}
/>
</Box>
Expand Down
10 changes: 10 additions & 0 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@
--createButtonEventHeader-border: var(--dark-grey);
--createButtonEventHeader-hover-color: var(--black-color);
--createButtonEventHeader-boxshadow: rgba(0, 0, 0, 0.3);
--slider-rail-bg: #e6e6e6;
}

.fonts {
Expand Down Expand Up @@ -895,6 +896,15 @@

.slider .MuiSlider-track {
background-color: var(--slider-bg) !important;
border: 'none';
}

.slider .MuiSlider-thumb {
background-color: var(--slider-bg) !important;
}

.slider .MuiSlider-rail {
background-color: var(--slider-rail-bg) !important;
}

.removeButton {
Expand Down

0 comments on commit e53c405

Please sign in to comment.