diff --git a/src/components/ValuePicker/index.js b/src/components/ValuePicker/index.js index 161fbbfadb8b1..5d2b997fbcaa4 100644 --- a/src/components/ValuePicker/index.js +++ b/src/components/ValuePicker/index.js @@ -7,6 +7,8 @@ import MenuItemWithTopDescription from '../MenuItemWithTopDescription'; import ValueSelectorModal from './ValueSelectorModal'; import FormHelpMessage from '../FormHelpMessage'; import refPropTypes from '../refPropTypes'; +import * as StyleUtils from '../../styles/StyleUtils'; +import variables from '../../styles/variables'; const propTypes = { /** Form Error description */ @@ -59,7 +61,7 @@ function ValuePicker({value, label, items, placeholder, errorText, onInputChange hidePickerModal(); }; - const descStyle = value.length === 0 ? styles.textNormal : null; + const descStyle = value.length === 0 ? StyleUtils.getFontSizeStyle(variables.fontSizeLabel) : null; const selectedItem = _.find(items, {value}); const selectedLabel = selectedItem ? selectedItem.label : ''; diff --git a/src/pages/workspace/WorkspaceNewRoomPage.js b/src/pages/workspace/WorkspaceNewRoomPage.js index da0bf845cc818..cea07b3c953f1 100644 --- a/src/pages/workspace/WorkspaceNewRoomPage.js +++ b/src/pages/workspace/WorkspaceNewRoomPage.js @@ -216,7 +216,6 @@ function WorkspaceNewRoomPage(props) {