resolved due to reviews

This commit is contained in:
Oleh Polisan 2024-04-26 23:54:31 +03:00
parent b268a593e5
commit b8a12a988f
2 changed files with 8 additions and 8 deletions

View file

@ -20,12 +20,12 @@ const presets = [
"#F6BFAC" // Vesktop inpired "#F6BFAC" // Vesktop inpired
]; ];
export const trayIconPicker: SettingsComponent = ({ settings }) => { export const TrayIconPicker: SettingsComponent = ({ settings }) => {
if (!settings.tray) return null; // how to disable instead of hiding? if (!settings.tray) return null;
return ( return (
<div className="tray-settings"> <div className="vcd-tray-settings">
<div className="tray-container"> <div className="vcd-tray-container">
<div className="tray-settings-labels"> <div className="vcd-tray-settings-labels">
<Forms.FormTitle tag="h3">Tray Icon Color</Forms.FormTitle> <Forms.FormTitle tag="h3">Tray Icon Color</Forms.FormTitle>
<Forms.FormText>Choose a color for your tray icon!</Forms.FormText> <Forms.FormText>Choose a color for your tray icon!</Forms.FormText>
</div> </div>

View file

@ -1,15 +1,15 @@
.tray-settings { .vcd-tray-settings {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.tray-container { .vcd-tray-container {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
} }
.tray-settings-labels { .vcd-tray-settings-labels {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: flex-start;