Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Commit

Permalink
Add css to flavor label
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacov committed Apr 1, 2019
1 parent 0476b34 commit 1dfe303
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions sass/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/

@import './components/CancelAcceptButtons/cancel-accept-buttons';
@import './components/Flavor/flavor';
@import './components/Form/dropdown';
@import './components/Form/form-group';
@import './components/Form/list-form-factory';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Details/Flavor/Flavor.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class Flavor extends React.Component {

return (
<Fragment>
{choices.length === 1 && flavor === CUSTOM_FLAVOR && editing ? <div>{CUSTOM_FLAVOR}</div> : ''}
{choices.length === 1 && flavor === CUSTOM_FLAVOR && editing ? <div class="kubevirt-flavor__label">{CUSTOM_FLAVOR}</div> : ''}
<InlineEdit
formFields={formFields}
editing={editing}
Expand Down

0 comments on commit 1dfe303

Please sign in to comment.