From dfe8db3007a420d8a9797f0f2740eb6223022482 Mon Sep 17 00:00:00 2001 From: Alexander Platov Date: Sat, 11 Dec 2021 13:01:12 +0300 Subject: [PATCH] Fix Activity layout (#610) Signed-off-by: Alexander Platov --- packages/panel/src/components/Panel.svelte | 2 +- packages/ui/src/components/TooltipInstance.svelte | 2 +- plugins/activity-resources/src/components/Activity.svelte | 1 + plugins/activity-resources/src/components/TxView.svelte | 1 - .../src/components/CommentPresenter.svelte | 8 +++++--- .../recruit-resources/src/components/EditVacancy.svelte | 1 + 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/packages/panel/src/components/Panel.svelte b/packages/panel/src/components/Panel.svelte index aaa70e06de..d3204f701e 100644 --- a/packages/panel/src/components/Panel.svelte +++ b/packages/panel/src/components/Panel.svelte @@ -42,7 +42,7 @@
{title}
Candidate pool name
- + {#if $$slots.subtitle}
{/if}
diff --git a/packages/ui/src/components/TooltipInstance.svelte b/packages/ui/src/components/TooltipInstance.svelte index 8819883c87..e80ca27ae7 100644 --- a/packages/ui/src/components/TooltipInstance.svelte +++ b/packages/ui/src/components/TooltipInstance.svelte @@ -143,7 +143,7 @@ onDestroy(() => hideTooltip()) - { whileShow(ev) }} /> + { whileShow(ev) }} /> diff --git a/plugins/activity-resources/src/components/Activity.svelte b/plugins/activity-resources/src/components/Activity.svelte index 37ad8109f4..abb11e2324 100644 --- a/plugins/activity-resources/src/components/Activity.svelte +++ b/plugins/activity-resources/src/components/Activity.svelte @@ -163,4 +163,5 @@ height: max-content; } } + :global(.grid .msgactivity-container:last-child::after) { content: none; } // Remove the line in the last Activity message diff --git a/plugins/activity-resources/src/components/TxView.svelte b/plugins/activity-resources/src/components/TxView.svelte index 5e22f1ce71..dfbbe4bcef 100644 --- a/plugins/activity-resources/src/components/TxView.svelte +++ b/plugins/activity-resources/src/components/TxView.svelte @@ -274,7 +274,6 @@ :global(.msgactivity-container + .msgactivity-container::before) { content: ''; } - // :global(.msgactivity-container > *:last-child::after) { content: none; } .menuOptions { margin-left: .5rem; diff --git a/plugins/chunter-resources/src/components/CommentPresenter.svelte b/plugins/chunter-resources/src/components/CommentPresenter.svelte index 3f06e3f04f..bbddc8b720 100644 --- a/plugins/chunter-resources/src/components/CommentPresenter.svelte +++ b/plugins/chunter-resources/src/components/CommentPresenter.svelte @@ -57,10 +57,12 @@ margin-bottom: .25rem; } .comment-content { + overflow: hidden; + visibility: visible; display: -webkit-box; -webkit-line-clamp: 7; - -webkit-box-orient: vertical; - text-overflow: ellipsis; - overflow: hidden; + line-clamp: 7; + /* autoprefixer: ignore next */ + -webkit-box-orient: vertical; } \ No newline at end of file diff --git a/plugins/recruit-resources/src/components/EditVacancy.svelte b/plugins/recruit-resources/src/components/EditVacancy.svelte index 964b3519d6..77c10d6cb6 100644 --- a/plugins/recruit-resources/src/components/EditVacancy.svelte +++ b/plugins/recruit-resources/src/components/EditVacancy.svelte @@ -178,6 +178,7 @@ overflow-y: auto; margin: 1rem 2rem; padding: 1.5rem .5rem; + height: 100%; .box { margin-right: 1px;