mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #1747 from appwrite/fix-overflow
Fix: content overflown on previews
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<p class="body-text-1 u-small u-bold">{title || 'Message Title'}</p>
|
||||
<p class="body-text-2 u-x-small">
|
||||
<p class="notification-bubble body-text-2 u-x-small">
|
||||
{body || 'Enter your message in the input field on the left to see it here'}
|
||||
</p>
|
||||
</div>
|
||||
@@ -49,6 +49,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
.notification-bubble {
|
||||
overflow: hidden;
|
||||
display: -webkit-box;
|
||||
line-clamp: 4;
|
||||
word-break: break-word;
|
||||
-webkit-line-clamp: 4;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
:global(.theme-dark) .phone {
|
||||
background-image: url('./push-notification-preview-dark.svg');
|
||||
|
||||
|
||||
@@ -92,6 +92,12 @@
|
||||
padding-block: 7px;
|
||||
margin-inline-start: 6px;
|
||||
margin-inline-end: 33px;
|
||||
overflow: hidden;
|
||||
display: -webkit-box;
|
||||
word-break: break-word;
|
||||
line-clamp: 4;
|
||||
-webkit-line-clamp: 4;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user