style: move Day / Weekday Gap above Weekday Font in settings
This commit is contained in:
parent
10aa9aabb5
commit
fab588083f
@ -10298,6 +10298,45 @@ function SettingsSidebar({
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
{/* Day / Weekday Gap */}
|
||||
<div
|
||||
style={{
|
||||
background: "var(--weekly-settings-item-bg)",
|
||||
padding: "12px",
|
||||
borderRadius: "8px",
|
||||
marginBottom: "12px",
|
||||
}}
|
||||
>
|
||||
<label
|
||||
style={{
|
||||
display: "block",
|
||||
fontSize: "0.85rem",
|
||||
fontWeight: 600,
|
||||
color: "var(--weekly-settings-label)",
|
||||
marginBottom: "8px",
|
||||
}}
|
||||
>
|
||||
Day / Weekday Gap
|
||||
</label>
|
||||
<input
|
||||
type="text"
|
||||
value={profile.dayHeaderGap || "0.35em"}
|
||||
onChange={(e) =>
|
||||
setProfile({ ...profile, dayHeaderGap: e.target.value })
|
||||
}
|
||||
placeholder="0.35em"
|
||||
className="weekly-input"
|
||||
style={{
|
||||
width: "100%",
|
||||
padding: "8px",
|
||||
fontSize: "0.9rem",
|
||||
border: "1px solid var(--weekly-settings-input-border)",
|
||||
borderRadius: "4px",
|
||||
background: "var(--weekly-settings-input-bg)",
|
||||
color: "var(--weekly-settings-text)",
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* Day Names */}
|
||||
<div
|
||||
@ -10656,45 +10695,7 @@ function SettingsSidebar({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Day / Weekday Gap */}
|
||||
<div
|
||||
style={{
|
||||
background: "var(--weekly-settings-item-bg)",
|
||||
padding: "12px",
|
||||
borderRadius: "8px",
|
||||
marginBottom: "12px",
|
||||
}}
|
||||
>
|
||||
<label
|
||||
style={{
|
||||
display: "block",
|
||||
fontSize: "0.85rem",
|
||||
fontWeight: 600,
|
||||
color: "var(--weekly-settings-label)",
|
||||
marginBottom: "8px",
|
||||
}}
|
||||
>
|
||||
Day / Weekday Gap
|
||||
</label>
|
||||
<input
|
||||
type="text"
|
||||
value={profile.dayHeaderGap || "0.35em"}
|
||||
onChange={(e) =>
|
||||
setProfile({ ...profile, dayHeaderGap: e.target.value })
|
||||
}
|
||||
placeholder="0.35em"
|
||||
className="weekly-input"
|
||||
style={{
|
||||
width: "100%",
|
||||
padding: "8px",
|
||||
fontSize: "0.9rem",
|
||||
border: "1px solid var(--weekly-settings-input-border)",
|
||||
borderRadius: "4px",
|
||||
background: "var(--weekly-settings-input-bg)",
|
||||
color: "var(--weekly-settings-text)",
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
{/* Calendar Week Font */}
|
||||
<div
|
||||
|
||||
Loading…
Reference in New Issue
Block a user