Merge pull request #162 from NotThorny/Fix-Overlap

Fix overlap on resize
This commit is contained in:
SpikeHD
2023-05-10 14:15:26 -07:00
committed by GitHub
2 changed files with 1 additions and 8 deletions

View File

@@ -11,10 +11,7 @@
width: 80px; width: 80px;
right: 0%; right: 0%;
z-index: 99;
background-color: rgba(77, 77, 77, 0.6); background-color: rgba(77, 77, 77, 0.6);
z-index: 999;
} }
.BarImg:hover { .BarImg:hover {

View File

@@ -31,8 +31,6 @@ interface IState {
ipPlaceholder: string ipPlaceholder: string
portPlaceholder: string portPlaceholder: string
portHelpText: string
httpsLabel: string httpsLabel: string
httpsEnabled: boolean httpsEnabled: boolean
@@ -55,7 +53,6 @@ export default class ServerLaunchSection extends React.Component<IProps, IState>
port: '', port: '',
ipPlaceholder: '', ipPlaceholder: '',
portPlaceholder: '', portPlaceholder: '',
portHelpText: '',
httpsLabel: '', httpsLabel: '',
httpsEnabled: false, httpsEnabled: false,
launchServer: () => { launchServer: () => {
@@ -90,7 +87,6 @@ export default class ServerLaunchSection extends React.Component<IProps, IState>
port: config.last_port || '', port: config.last_port || '',
ipPlaceholder: await translate('main.ip_placeholder'), ipPlaceholder: await translate('main.ip_placeholder'),
portPlaceholder: await translate('help.port_placeholder'), portPlaceholder: await translate('help.port_placeholder'),
portHelpText: await translate('help.port_help_text'),
httpsLabel: await translate('main.https_enable'), httpsLabel: await translate('main.https_enable'),
httpsEnabled: config.https_enabled || false, httpsEnabled: config.https_enabled || false,
swag: config.swag_mode || false, swag: config.swag_mode || false,
@@ -294,7 +290,7 @@ export default class ServerLaunchSection extends React.Component<IProps, IState>
onChange={this.setPort} onChange={this.setPort}
initalValue={this.state.port} initalValue={this.state.port}
/> />
<HelpButton contents={"help.port_help_text"} /> <HelpButton contents={'help.port_help_text'} />
<Checkbox <Checkbox
id="httpsEnable" id="httpsEnable"
label={this.state.httpsLabel} label={this.state.httpsLabel}