Skip to content

Commit

Permalink
fix: fix duration checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
tthvo committed Aug 8, 2024
1 parent 176565d commit dc92e6a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/Recordings/ActiveRecordingsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,7 @@ const ActiveRecordingsToolbar: React.FC<ActiveRecordingsToolbarProps> = (props)
updateFilters={props.updateFilters}
breakpoint={'xl'}
/>
<ToolbarItem variant="separator" />
<ToolbarGroup style={{ alignSelf: 'start' }} variant="button-group">
<ToolbarItem variant="overflow-menu">
<OverflowMenu
Expand Down
1 change: 1 addition & 0 deletions src/app/Recordings/ArchivedRecordingsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,7 @@ const ArchivedRecordingsToolbar: React.FC<ArchivedRecordingsToolbarProps> = (pro
updateFilters={props.updateFilters}
breakpoint={'xl'}
/>
<ToolbarItem variant="separator" />
<ToolbarGroup variant="button-group" style={{ alignSelf: 'start' }}>
<ToolbarItem variant="overflow-menu">
<OverflowMenu
Expand Down
3 changes: 2 additions & 1 deletion src/app/Recordings/Filters/DurationFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ export const DurationFilter: React.FC<DurationFilterProps> = ({
onKeyDown={handleEnterKey}
/>
</FlexItem>
<FlexItem>
<FlexItem alignSelf={{ default: 'alignSelfCenter' }}>
<Checkbox
className="duration-filter__continuous-checkbox"
label="Continuous"
id="continuous-checkbox"
isChecked={isContinuous}
Expand Down
4 changes: 4 additions & 0 deletions src/app/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ html, body, #root {
--pf-v5-c-chip__text--MaxWidth: 100ch;
}

.duration-filter__continuous-checkbox .pf-v5-c-check__label {
align-self: center;
}

.recording-table-outer-container {
height: 67.3vh;
}
Expand Down

0 comments on commit dc92e6a

Please sign in to comment.