Skip to content

Commit

Permalink
problem: not clear which problem is in focus
Browse files Browse the repository at this point in the history
  • Loading branch information
gsovereignty committed Jan 15, 2024
1 parent a8d6ead commit 6a06cdc
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions src/components/problems/ChatLayout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,13 @@
<Column noGutter lg={16}>
{#each parentsOfSelected as p}
<Tile
on:mouseenter={() => {
hover = p.UID;
}}
on:mouseleave={() => {
hover = "";
}}
on:click={() => {
goto(`${base}/problems/${p.UID}`);
}}
light={hover == p.UID}
style="cursor:pointer;padding:6px;color:{hover == p.UID?"white":"grey"};font-weight:bold;"
>
<h4>{p.Title}</h4>
<p>{p.Summary}</p>
<span
style="cursor:pointer;font-weight:300;"
on:click={() => {
goto(`${base}/problems/${p.UID}`);
}}><YAxis /> {p.Title}</span
>

<!-- <Tag style="display:inline-block;float:right;" size="sm"
><ParentChild />{p.Children.size}</Tag
Expand Down

0 comments on commit 6a06cdc

Please sign in to comment.