Fix Activity layout (#610)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov 2021-12-11 13:01:12 +03:00 committed by GitHub
parent ec33531e32
commit dfe8db3007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 6 deletions

View File

@ -42,7 +42,7 @@
<div class="fs-title">{title}</div>
<div class="small-text content-dark-color">Candidate pool name</div>
</div>
<ActionIcon icon={IconMoreH} size={'small'} />
<ActionIcon icon={IconMoreH} size={'medium'} />
</div>
{#if $$slots.subtitle}<div class="flex-row-center subtitle"><slot name="subtitle" /></div>{/if}
<div class="flex-col scroll-container">

View File

@ -143,7 +143,7 @@
onDestroy(() => hideTooltip())
</script>
<svelte:window on:resize={fitTooltip} on:mousemove={(ev) => { whileShow(ev) }} />
<svelte:window on:resize={hideTooltip} on:mousemove={(ev) => { whileShow(ev) }} />
<svg class="svg-mask">
<clipPath id="nub-bg"><path d="M7.3.6 4.2 4.3C2.9 5.4 1.5 6 0 6v1h18V6c-1.5 0-2.9-.6-4.2-1.7L10.7.6C9.9-.1 8.5-.2 7.5.4c0 .1-.1.1-.2.2z" /></clipPath>
<clipPath id="nub-border"><path d="M4.8 5.1 8 1.3s.1 0 .1-.1c.5-.3 1.4-.3 1.9.1L13.1 5l.1.1 1.2.9H18c-1.5 0-2.9-.6-4.2-1.7L10.7.6C9.9-.1 8.5-.2 7.5.4c0 .1-.1.1-.2.2L4.2 4.3C2.9 5.4 1.5 6 0 6h3.6l1.2-.9z" /></clipPath>

View File

@ -163,4 +163,5 @@
height: max-content;
}
}
:global(.grid .msgactivity-container:last-child::after) { content: none; } // Remove the line in the last Activity message
</style>

View File

@ -274,7 +274,6 @@
:global(.msgactivity-container + .msgactivity-container::before) {
content: '';
}
// :global(.msgactivity-container > *:last-child::after) { content: none; }
.menuOptions {
margin-left: .5rem;

View File

@ -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;
}
</style>

View File

@ -178,6 +178,7 @@
overflow-y: auto;
margin: 1rem 2rem;
padding: 1.5rem .5rem;
height: 100%;
.box {
margin-right: 1px;