Skip to content

Commit

Permalink
Proper Height if rows > 1
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Nov 27, 2024
1 parent a76c76e commit 6d98b5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/web/src/components/CloudTAK/util/CopyField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
<div
v-else
class='position-relative bg-gray-500 rounded-top py-2 px-2 text-truncate'
style='height: 44px;'
:style='rows === 1 ? `height: 44px;` : ``'
:class='{
"hover-button hover-border cursor-pointer": hover,
}'
@click='edit ? editing = true : undefined'
>
<slot />

<template v-if='multiline'>
<template v-if='rows > 1'>
<TablerMarkdown
:markdown='markdown'
/>
Expand Down

0 comments on commit 6d98b5a

Please sign in to comment.