Skip to content

Commit

Permalink
fix: resolved ProjectSelectModal styles problem
Browse files Browse the repository at this point in the history
  • Loading branch information
donniean committed Nov 3, 2023
1 parent dd46756 commit cf43e2d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
14 changes: 8 additions & 6 deletions src/components/Modals/ProjectSelect/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,14 @@ export default class ProjectSelectModal extends React.Component {
<div className={styles.bar}>
<Columns className="is-variable is-1">
<Column className="is-narrow">
<RadioGroup
mode="button"
value={type}
options={this.types}
onChange={this.handleTypeChange}
/>
<div className={styles.radioGroupWrapper}>
<RadioGroup
mode="button"
value={type}
options={this.types}
onChange={this.handleTypeChange}
/>
</div>
</Column>
<Column>
<div className={styles.searchWrapper}>
Expand Down
11 changes: 10 additions & 1 deletion src/components/Modals/ProjectSelect/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
background-color: $bg-color;
}

.radioGroupWrapper {
:global {
.radio-group-button label.radio-button {
padding-right: 12px;
padding-left: 12px;
}
}
}

.list {
height: 472px;
padding: 12px;
Expand Down Expand Up @@ -45,7 +54,7 @@
}

.search {
width: 390px;
max-width: 390px;

&.withSelect {
padding-left: 124px;
Expand Down

0 comments on commit cf43e2d

Please sign in to comment.