Добавить градиентный fade внизу контента письма
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
268785bfbd
commit
89385f7ba6
1 changed files with 13 additions and 0 deletions
|
|
@ -130,6 +130,19 @@ const srcdoc = computed(() => processedHtml.value ?? plainTextHtml.value ?? '')
|
|||
.message-body {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.message-body::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 80px;
|
||||
background: linear-gradient(to bottom, transparent, #0d0d11);
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.body-frame {
|
||||
|
|
|
|||
Loading…
Reference in a new issue