Skip to content

Commit

Permalink
handle long command stem overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
duranb committed Dec 6, 2024
1 parent 7e68b82 commit 02f41c1
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
{#if commandResults.length > 0}
{#each commandResults as commandResult}
<div class="dictionary-result">
<button class="st-button-link" on:click={() => onSelectCommandDefinition(commandResult)}>
<button class="st-button-link command-stem" on:click={() => onSelectCommandDefinition(commandResult)}>
{commandResult.stem}
</button>
</div>
Expand Down Expand Up @@ -278,6 +278,13 @@
font-style: italic;
}
.command-stem {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.command-arguments {
display: flex;
flex-flow: column;
Expand Down

0 comments on commit 02f41c1

Please sign in to comment.