diff --git a/frontend/web/components/modals/CreateGroup.tsx b/frontend/web/components/modals/CreateGroup.tsx index 8c1c233aad3b..8db113aef89d 100644 --- a/frontend/web/components/modals/CreateGroup.tsx +++ b/frontend/web/components/modals/CreateGroup.tsx @@ -456,15 +456,15 @@ const CreateGroup: FC = ({ group, orgId, roles }) => { + <> General {!!edited && *} - + } > {editGroupEl} - Permissions}>{editPermissionsEl} + {editPermissionsEl} ) : ( editGroupEl diff --git a/frontend/web/components/modals/CreateSegment.tsx b/frontend/web/components/modals/CreateSegment.tsx index a00465d4bb33..9baf2a792e23 100644 --- a/frontend/web/components/modals/CreateSegment.tsx +++ b/frontend/web/components/modals/CreateSegment.tsx @@ -503,10 +503,10 @@ const CreateSegment: FC = ({ - General{' '} - {valueChanged &&
{'*'}
} - + <> + General + {valueChanged && {'*'}} + } >
@@ -564,12 +564,12 @@ const CreateSegment: FC = ({ + <> Custom Fields {metadataValueChanged && ( -
{'*'}
+ {'*'} )} - + } >
{MetadataTab}
@@ -579,10 +579,7 @@ const CreateSegment: FC = ({ )} {!(isEdit && !condensed) && metadataEnable && segmentContentType?.id && ( setTab(tab)}> - +
= ({ />
- Custom Fields - } - > +
{MetadataTab}
diff --git a/frontend/web/components/modals/create-experiment/index.js b/frontend/web/components/modals/create-experiment/index.js index 808c3f545a2a..13c7dbf5dccd 100644 --- a/frontend/web/components/modals/create-experiment/index.js +++ b/frontend/web/components/modals/create-experiment/index.js @@ -468,14 +468,12 @@ const Index = class extends Component { data-test='value' tabLabelString='Value' tabLabel={ - - Value{' '} + <> + Value {this.state.valueChanged && ( -
- {'*'} -
+ {'*'} )} -
+ } > - Results - - } + tabLabel='Results' > = (props) => { data-test='value' tabLabelString='Value' tabLabel={ - - Value{' '} - {valueChanged && ( -
{'*'}
- )} -
+ <> + Value + {valueChanged &&
*
} + } > = (props) => { data-test='segment_overrides' tabLabelString='Segment Overrides' tabLabel={ - - Segment Overrides{' '} - {segmentsChanged && ( -
*
- )} -
+ <> + Segment Overrides + {segmentsChanged &&
*
} + } > = (props) => {
)} {(!Project.disableAnalytics || hasCodeReferences) && ( - Usage - } - > + = (props) => { Links - } + tabLabel='Links' > = (props) => { data-test='settings' tabLabelString='Settings' tabLabel={ - - Settings{' '} - {settingsChanged && ( -
{'*'}
- )} -
+ <> + Settings + {settingsChanged &&
*
} + } > ( isSelected ? ' tab-active' : '' } ${className}`} > - {child.props.tabLabel} + {child.props.tabLabel} ) }, diff --git a/frontend/web/styles/components/_tabs.scss b/frontend/web/styles/components/_tabs.scss index aa767187f230..5c97a0bad944 100644 --- a/frontend/web/styles/components/_tabs.scss +++ b/frontend/web/styles/components/_tabs.scss @@ -159,6 +159,14 @@ .btn-tab { position: relative; + + .btn-tab__label { + display: inline-flex; + align-items: center; + flex-wrap: nowrap; + gap: 4px; + } + .unread { padding-left: 0 !important; padding-right: 0 !important;