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
];
export const trayIconPicker: SettingsComponent = ({ settings }) => {
if (!settings.tray) return null; // how to disable instead of hiding?
export const TrayIconPicker: SettingsComponent = ({ settings }) => {
if (!settings.tray) return null;
return (
<div className="tray-settings">
<div className="tray-container">
<div className="tray-settings-labels">
<div className="vcd-tray-settings">
<div className="vcd-tray-container">
<div className="vcd-tray-settings-labels">
<Forms.FormTitle tag="h3">Tray Icon Color</Forms.FormTitle>
<Forms.FormText>Choose a color for your tray icon!</Forms.FormText>
</div>

View file

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