Skip to content

Commit

Permalink
fix: fix style class
Browse files Browse the repository at this point in the history
  • Loading branch information
jikkai committed Jul 5, 2024
1 parent a671f9f commit 189b0db
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 21 deletions.
2 changes: 1 addition & 1 deletion packages/ui/src/components/progress-bar/ProgressBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export function ProgressBar(props: IProgressBarProps) {
}}
/>
</div>
<div className={styles.closeButton} onClick={handleClose}><CloseSingle /></div>
<div className={styles.progressBarCloseButton} onClick={handleClose}><CloseSingle /></div>

</div>
);
Expand Down
41 changes: 21 additions & 20 deletions packages/ui/src/components/progress-bar/index.module.less
Original file line number Diff line number Diff line change
@@ -1,37 +1,38 @@
@height: 4px;
.progressBarContainer {
display: flex;
align-items: center;
margin: 0 8px 0 8px;
}

.progressBar {
.progress-bar {
width: 160px;
height: @height;
background-color: rgb(var(--border-color));
border-radius: var(--border-radius-lg);
margin-right: 8px;

&-container {
display: flex;
align-items: center;
margin: 0 8px 0 8px;
}

&-inner {
height: @height;
border-radius: var(--border-radius-lg);
transition: width 0.5s;
}
}

.closeButton {
background: none;
border: none;
font-size: 12px;
color: rgb(var(--text-color));
cursor: pointer;
padding: 0;
margin: 0;
line-height: 1;
display: flex;
align-items: center;
&-close-button {
background: none;
border: none;
font-size: 12px;
color: rgb(var(--text-color));
cursor: pointer;
padding: 0;
margin: 0;
line-height: 1;
display: flex;
align-items: center;

&:hover {
color: rgb(var(--text-color-secondary));
&:hover {
color: rgb(var(--text-color-secondary));
}
}
}

0 comments on commit 189b0db

Please sign in to comment.