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

View File

@ -143,7 +143,7 @@
onDestroy(() => hideTooltip()) onDestroy(() => hideTooltip())
</script> </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"> <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-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> <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; height: max-content;
} }
} }
:global(.grid .msgactivity-container:last-child::after) { content: none; } // Remove the line in the last Activity message
</style> </style>

View File

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

View File

@ -57,10 +57,12 @@
margin-bottom: .25rem; margin-bottom: .25rem;
} }
.comment-content { .comment-content {
overflow: hidden;
visibility: visible;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 7; -webkit-line-clamp: 7;
-webkit-box-orient: vertical; line-clamp: 7;
text-overflow: ellipsis; /* autoprefixer: ignore next */
overflow: hidden; -webkit-box-orient: vertical;
} }
</style> </style>

View File

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