Skip to content

Commit

Permalink
Added a max-width for the sequence editor tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
cohansen committed Jul 17, 2024
1 parent 72d94ac commit 55bc3ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/sequencing/ArgumentTooltip.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
</script>

<div class="argument-tooltip">
<div class="sequence-tooltip">
<div class="container">
Name: {arg.name}
<br />
Expand Down
2 changes: 1 addition & 1 deletion src/components/sequencing/CommandTooltip.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
</script>

<div class="command-tooltip st-typography-body">
<div class="sequence-tooltip st-typography-body">
<div class="container command-name">
{commandExample}
</div>
Expand Down
4 changes: 4 additions & 0 deletions src/css/tooltip.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.sequence-tooltip {
max-width: 50rem;
}

.tooltip {
background-color: rgba(0, 0, 0, 0.8);
border-radius: 4px;
Expand Down

0 comments on commit 55bc3ad

Please sign in to comment.