diff --git a/grasscutter.zip b/grasscutter.zip new file mode 100644 index 0000000..40eacf5 Binary files /dev/null and b/grasscutter.zip differ diff --git a/src/ui/components/ServerLaunchSection.css b/src/ui/components/ServerLaunchSection.css new file mode 100644 index 0000000..5182bc8 --- /dev/null +++ b/src/ui/components/ServerLaunchSection.css @@ -0,0 +1,16 @@ +#serverControls .CheckboxDisplay { + border-color: #fff; + background: #fff; +} + +#serverControls .Checkbox { + margin-bottom: 6px; +} + +#serverControls .CheckboxDisplay { + margin-right: 6px; +} + +#serverControls .Checkbox label { + color: #000; +} \ No newline at end of file diff --git a/src/ui/components/ServerLaunchSection.tsx b/src/ui/components/ServerLaunchSection.tsx index b5052c9..9760ed0 100644 --- a/src/ui/components/ServerLaunchSection.tsx +++ b/src/ui/components/ServerLaunchSection.tsx @@ -4,6 +4,8 @@ import BigButton from './common/BigButton' import { getConfig, saveConfig } from '../../utils/configuration' import { invoke } from '@tauri-apps/api/tauri' +import './ServerLaunchSection.css' + interface IProps { [key: string]: any } diff --git a/src/ui/components/common/Checkbox.css b/src/ui/components/common/Checkbox.css index 94b17c8..dd20750 100644 --- a/src/ui/components/common/Checkbox.css +++ b/src/ui/components/common/Checkbox.css @@ -18,4 +18,9 @@ .CheckboxDisplay img { height: 100%; /* filter: invert(78%) sepia(91%) saturate(923%) hue-rotate(334deg) brightness(106%) contrast(102%); */ +} + +.Checkbox label { + display: flex; + flex-direction: row; } \ No newline at end of file diff --git a/src/ui/components/common/Checkbox.tsx b/src/ui/components/common/Checkbox.tsx index ab0e3a7..5a1a19a 100644 --- a/src/ui/components/common/Checkbox.tsx +++ b/src/ui/components/common/Checkbox.tsx @@ -36,6 +36,7 @@ export default class Checkbox extends React.Component {
{this.state.checked ? Checkmark : null}
+ {this.props.label} )