Skip to content

Commit 2b8adb1

Browse files
committed
wip: cleanup
1 parent a3f5129 commit 2b8adb1

File tree

24 files changed

+93
-142
lines changed

24 files changed

+93
-142
lines changed

packages/webui/src/client/ui/Settings/DeviceSettings.tsx

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,13 @@ export default translateWithTracker<IDeviceSettingsProps, IDeviceSettingsState,
136136
{t('No name set')} <FontAwesomeIcon icon={faExclamationTriangle} />
137137
</div>
138138
) : null}
139-
<div className="mdi">
140-
<EditAttribute
141-
modifiedClassName="bghl"
142-
attribute="name"
143-
obj={device}
144-
type="text"
145-
collection={PeripheralDevices}
146-
className="mdinput"
147-
></EditAttribute>
148-
<span className="mdfx"></span>
149-
</div>
139+
<EditAttribute
140+
modifiedClassName="bghl"
141+
attribute="name"
142+
obj={device}
143+
type="text"
144+
collection={PeripheralDevices}
145+
></EditAttribute>
150146
</label>
151147

152148
<label className="field">

packages/webui/src/client/ui/Settings/Migration.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ export const MigrationView = translateWithTracker<IProps, IState, ITrackedProps>
331331
<td colSpan={2}>
332332
{this.state.migration.chunks.map((c) => (
333333
<div key={c.sourceName}>
334-
<h3 className="mhs">{c.sourceName}</h3>
334+
<h3 className="mx-2">{c.sourceName}</h3>
335335
{_.map(c._steps, (s) => (
336336
<p key={s}>{s}</p>
337337
))}
@@ -364,7 +364,7 @@ export const MigrationView = translateWithTracker<IProps, IState, ITrackedProps>
364364
</div>
365365
) : (
366366
<div>
367-
<p className="mhn mvs">
367+
<p className="my-2">
368368
{t('The migration procedure needs some help from you in order to complete, see below:')}
369369
</p>
370370
<div>{this.renderManualSteps()}</div>

packages/webui/src/client/ui/Settings/RundownLayoutEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ const RundownLayoutEditorContent = withTranslation()(
364364
<React.Fragment>
365365
<h4 className="my-2">{layout?.filtersTitle ?? t('Filters')}</h4>
366366
{item.filters.length === 0 ? (
367-
<p className="text-s dimmed field-hint mhs">{t('There are no filters set up yet')}</p>
367+
<p className="text-s dimmed field-hint mx-2">{t('There are no filters set up yet')}</p>
368368
) : null}
369369
</React.Fragment>
370370
) : null}

packages/webui/src/client/ui/Settings/ShowStyle/Generic.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export function ShowStyleGenericProperties({
3333
obj={showStyleBase}
3434
type="text"
3535
collection={ShowStyleBases}
36-
className="mdinput"
3736
></EditAttribute>
3837
</div>
3938
<div></div>

packages/webui/src/client/ui/Settings/ShowStyle/VariantListItem.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export const VariantListItem = ({
182182
</span>
183183
</label>
184184

185-
<h3 className="mhn">{t('Blueprint Configuration')}</h3>
185+
<h3 className="my-2">{t('Blueprint Configuration')}</h3>
186186

187187
<label className="field">
188188
<LabelActual label={t('Config preset')} />
@@ -196,7 +196,6 @@ export const VariantListItem = ({
196196
mutateDisplayValue={(v) => v || ''}
197197
mutateUpdateValue={(v) => (v === '' ? undefined : v)}
198198
collection={ShowStyleVariants}
199-
className="mdinput"
200199
/>
201200
<div>
202201
{!showStyleVariant.blueprintConfigPresetId && (

packages/webui/src/client/ui/Settings/Studio/Baseline.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export function StudioBaselineStatus({ studioId }: Readonly<IStudioBaselineStatu
5656
return (
5757
<div className="field">
5858
<LabelActual label={t('Studio Baseline needs update: ')}></LabelActual>
59-
<div className="mhn field-content">
59+
<div className="field-content">
6060
{needsUpdate ? (
6161
<Tooltip
6262
overlay={t('Baseline needs reload, this studio may not work until reloaded')}

packages/webui/src/client/ui/Settings/Studio/Generic.tsx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,21 +80,11 @@ export function StudioGenericProperties({ studio }: IStudioGenericPropertiesProp
8080
{t('No name set')} <FontAwesomeIcon icon={faExclamationTriangle} />
8181
</div>
8282
) : null}
83-
<div className="mdi">
84-
<EditAttribute
85-
modifiedClassName="bghl"
86-
attribute="name"
87-
obj={studio}
88-
type="text"
89-
collection={Studios}
90-
className="mdinput"
91-
/>
92-
<span className="mdfx"></span>
93-
</div>
83+
<EditAttribute modifiedClassName="bghl" attribute="name" obj={studio} type="text" collection={Studios} />
9484
</label>
9585
<div className="field">
9686
{t('Select Compatible Show Styles')}
97-
<div className="mdi">
87+
<div>
9888
<EditAttribute
9989
attribute="supportedShowStyleBase"
10090
obj={studio}

packages/webui/src/client/ui/Settings/Studio/PackageManager/AccessorTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function AccessorsTable({ packageContainer, overrideHelper }: AccessorsTa
5151
<table className="expando settings-studio-package-containers-accessors-table">
5252
{Object.keys(container.accessors || {}).length === 0 ? (
5353
<tr>
54-
<td className="mhn dimmed">{t('There are no Accessors set up.')}</td>
54+
<td className="dimmed">{t('There are no Accessors set up.')}</td>
5555
</tr>
5656
) : (
5757
_.map(container.accessors || {}, (accessor: Accessor.Any, accessorId: string) => (

packages/webui/src/client/ui/Settings/Studio/PackageManager/AccessorTableRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export function AccessorTableRow({
8888
if (Object.keys(packageContainer.computed?.container || {}).length === 0) {
8989
return (
9090
<tr>
91-
<td className="mhn dimmed">{t('There are no Accessors set up.')}</td>
91+
<td className="dimmed">{t('There are no Accessors set up.')}</td>
9292
</tr>
9393
)
9494
}

packages/webui/src/client/ui/Settings/Studio/PackageManager/PackageContainers.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,11 +315,10 @@ function PackageContainerRow({
315315
/>
316316
)}
317317
</LabelAndOverridesForMultiSelect>
318-
<div className="mdi"></div>
319318
</div>
320319
<div>
321320
<div className="settings-studio-accessors">
322-
<h3 className="mhn">{t('Accessors')}</h3>
321+
<h3>{t('Accessors')}</h3>
323322
<AccessorsTable packageContainer={packageContainer} overrideHelper={overrideHelper} />
324323
</div>
325324
</div>

0 commit comments

Comments
 (0)