Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
502adca81b | ||
|
|
12e8bf6e69 |
@@ -79,7 +79,7 @@ function EditableName({
|
|||||||
ref={inputRef}
|
ref={inputRef}
|
||||||
type="text"
|
type="text"
|
||||||
value={draft}
|
value={draft}
|
||||||
className="h-7 text-sm"
|
className="h-7 max-w-48 text-sm"
|
||||||
onChange={(e) => setDraft(e.target.value)}
|
onChange={(e) => setDraft(e.target.value)}
|
||||||
onBlur={commit}
|
onBlur={commit}
|
||||||
onKeyDown={(e) => {
|
onKeyDown={(e) => {
|
||||||
@@ -365,9 +365,13 @@ function rowBorderClass(
|
|||||||
isActive: boolean,
|
isActive: boolean,
|
||||||
isConcentrating: boolean | undefined,
|
isConcentrating: boolean | undefined,
|
||||||
): string {
|
): string {
|
||||||
if (isActive) return "border border-accent/40 bg-accent/10 card-glow";
|
if (isActive && isConcentrating)
|
||||||
if (isConcentrating) return "border-l-2 border-l-purple-400";
|
return "border border-l-2 border-accent/40 border-l-purple-400 bg-accent/10 card-glow";
|
||||||
return "border-l-2 border-l-transparent";
|
if (isActive)
|
||||||
|
return "border border-l-2 border-accent/40 bg-accent/10 card-glow";
|
||||||
|
if (isConcentrating)
|
||||||
|
return "border border-l-2 border-transparent border-l-purple-400";
|
||||||
|
return "border border-l-2 border-transparent";
|
||||||
}
|
}
|
||||||
|
|
||||||
function concentrationIconClass(
|
function concentrationIconClass(
|
||||||
|
|||||||
Reference in New Issue
Block a user