Skip to content

Commit aee030e

Browse files
committed
Apply the dedicated styling modifier to the "Select all" row in the Stage Files modal
1 parent 33f2ca5 commit aee030e

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

‎packages/ui/src/components/editor/panel/modals/StageFilesModal/StageFilesModal.module.scss‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@
1919
}
2020
}
2121

22+
&--select-all {
23+
&:hover {
24+
background-color: transparent;
25+
}
26+
27+
strong:hover {
28+
text-decoration: underline;
29+
}
30+
}
31+
2232
&__details {
2333
flex: 1;
2434
overflow: hidden;

‎packages/ui/src/components/editor/panel/modals/StageFilesModal/StageFilesModal.tsx‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Button } from '../../Button'
44
import { Modal } from '../Modal'
55
import { Checkbox } from '../../../common/Checkbox'
66
import { IconButton } from '../../IconButton/IconButton'
7+
import cn from 'classnames'
78

89
type Props = {
910
files: string[]
@@ -44,7 +45,12 @@ export const StageFilesModal: React.FC<Props> = (props) => {
4445
content_max_height="calc(100vh - 150px)"
4546
content_slot={
4647
<div className={styles.files}>
47-
<label className={styles.files__item}>
48+
<label
49+
className={cn(
50+
styles.files__item,
51+
styles['files__item--select-all']
52+
)}
53+
>
4854
<Checkbox
4955
checked={all_selected}
5056
on_change={handle_toggle_select_all}

0 commit comments

Comments
 (0)