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