Skip to content

Commit

Permalink
chore: style matrix generation options
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-musallam committed Nov 29, 2023
1 parent 2d3fcd8 commit 0b3a50c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/component/hooks/useSaveSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const WorkspaceAddForm = forwardRef<FormikProps<any>, any>(
placeholder="Enter workspace Name"
style={{
input: {
height: '35px',
padding: '0.5em',
width: '90%',
fontWeight: 'normal',
color: 'black',
Expand Down
19 changes: 16 additions & 3 deletions src/component/panels/MatrixGenerationPanel/FiltersOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
} from './MatrixGenerationPanel';

const inputStyle: InputStyle = {
input: { padding: '0.2em 0.1em', width: '100%' },
input: { padding: '0.4em', width: '100%' },
};

export function FiltersOptions() {
Expand Down Expand Up @@ -176,7 +176,16 @@ function FiltersPanelGroupHeader({ index, name }) {
className="section-header"
style={{ display: 'flex', padding: '5px 0px' }}
>
<p style={{ flex: 1, ...GroupPanelStyle.header }}>{index + 1}-</p>
<p
style={{
flex: 1,
margin: 0,
paddingRight: '5px',
...GroupPanelStyle.header,
}}
>
{index + 1}-
</p>
<Select
value={name}
items={DEFAULT_MATRIX_FILTERS}
Expand All @@ -189,7 +198,11 @@ function FiltersPanelGroupHeader({ index, name }) {
/>

<div style={{ display: 'flex' }}>
<Button.Danger fill="outline" onClick={() => handleDelete(index)}>
<Button.Danger
fill="outline"
onClick={() => handleDelete(index)}
style={{ marginLeft: '5px' }}
>
<FaTimes />
</Button.Danger>

Expand Down

0 comments on commit 0b3a50c

Please sign in to comment.