Skip to content

Commit

Permalink
Fix tootip in lower width view
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE committed Nov 23, 2023
1 parent 1a96092 commit fd74dc9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/renderer/components/ft-tooltip/ft-tooltip.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,13 @@
}

.text.allowNewlines {
white-space: pre;
white-space: pre-wrap;
text-align: start;

@media only screen and (min-width: 1000px) {
/* Enough space to NOT wrap */
white-space: pre;
}
}

.tooltip {
Expand Down
3 changes: 1 addition & 2 deletions src/renderer/components/ft-tooltip/ft-tooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
}"
role="tooltip"
v-text="tooltip"
>
</p>
/>
</div>
</template>

Expand Down

0 comments on commit fd74dc9

Please sign in to comment.