mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Ghosted button and linting fixes
This commit is contained in:
parent
c11047fc4e
commit
6911054ca5
@ -135,7 +135,7 @@ export const Chart: FC<ChartProps> = ({
|
||||
<Button
|
||||
size="small"
|
||||
onClick={downloadChart}
|
||||
type="ghost"
|
||||
ghost
|
||||
icon={<DownloadOutlined />}
|
||||
className="download-btn"
|
||||
/>
|
||||
|
@ -95,7 +95,7 @@ export const VideoLatency: FC = () => {
|
||||
};
|
||||
|
||||
return (
|
||||
(<div className="config-video-latency-container">
|
||||
<div className="config-video-latency-container">
|
||||
<Title level={3} className="section-title">
|
||||
Latency Buffer
|
||||
</Title>
|
||||
@ -124,12 +124,12 @@ export const VideoLatency: FC = () => {
|
||||
defaultValue={selectedOption}
|
||||
value={selectedOption}
|
||||
tooltip={{
|
||||
formatter: value => SLIDER_COMMENTS[value]
|
||||
formatter: value => SLIDER_COMMENTS[value],
|
||||
}}
|
||||
/>
|
||||
<p className="selected-value-note">{SLIDER_COMMENTS[selectedOption]}</p>
|
||||
<FormStatusIndicator status={submitStatus} />
|
||||
</div>
|
||||
</div>)
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
@ -113,7 +113,7 @@ export const VideoVariantForm: FC<VideoVariantFormProps> = ({
|
||||
'video-passthrough-enabled': videoPassthroughEnabled,
|
||||
});
|
||||
return (
|
||||
(<div className={classes}>
|
||||
<div className={classes}>
|
||||
<div className="video-varient-alert">
|
||||
<Alert
|
||||
type="info"
|
||||
@ -164,7 +164,7 @@ export const VideoVariantForm: FC<VideoVariantFormProps> = ({
|
||||
value={dataState.cpuUsageLevel}
|
||||
disabled={dataState.videoPassthrough}
|
||||
tooltip={{
|
||||
formatter: value => ENCODER_PRESET_TOOLTIPS[value]
|
||||
formatter: value => ENCODER_PRESET_TOOLTIPS[value],
|
||||
}}
|
||||
/>
|
||||
<p className="selected-value-note">{cpuUsageNote()}</p>
|
||||
@ -203,7 +203,7 @@ export const VideoVariantForm: FC<VideoVariantFormProps> = ({
|
||||
max={VIDEO_BITRATE_DEFAULTS.max}
|
||||
marks={VIDEO_BITRATE_SLIDER_MARKS}
|
||||
tooltip={{
|
||||
formatter: value => `${value} ${VIDEO_BITRATE_DEFAULTS.unit}`
|
||||
formatter: value => `${value} ${VIDEO_BITRATE_DEFAULTS.unit}`,
|
||||
}}
|
||||
/>
|
||||
<p className="selected-value-note">{selectedVideoBRnote()}</p>
|
||||
@ -327,7 +327,7 @@ export const VideoVariantForm: FC<VideoVariantFormProps> = ({
|
||||
marks={FRAMERATE_SLIDER_MARKS}
|
||||
disabled={dataState.videoPassthrough}
|
||||
tooltip={{
|
||||
formatter: value => `${value} ${FRAMERATE_DEFAULTS.unit}`
|
||||
formatter: value => `${value} ${FRAMERATE_DEFAULTS.unit}`,
|
||||
}}
|
||||
/>
|
||||
<p className="selected-value-note">{selectedFramerateNote()}</p>
|
||||
@ -344,6 +344,6 @@ export const VideoVariantForm: FC<VideoVariantFormProps> = ({
|
||||
</div>
|
||||
</Panel>
|
||||
</Collapse>
|
||||
</div>)
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
@ -301,7 +301,7 @@ export default function Appearance() {
|
||||
<Button type="primary" onClick={save}>
|
||||
Save Colors
|
||||
</Button>
|
||||
<Button type="ghost" onClick={reset}>
|
||||
<Button ghost onClick={reset}>
|
||||
Reset to Defaults
|
||||
</Button>
|
||||
</Space>
|
||||
|
@ -176,7 +176,7 @@ const Emoji = () => {
|
||||
</Tooltip>
|
||||
<Button
|
||||
size="small"
|
||||
type="ghost"
|
||||
ghost
|
||||
title="Delete emoji"
|
||||
style={{
|
||||
position: 'absolute',
|
||||
|
Loading…
x
Reference in New Issue
Block a user