Enhancement: Show unread marker on widget bubble (#3390)
* add unread marker * add removeClass in IFramehelper * Update app/javascript/sdk/sdk.js * Update app/javascript/sdk/sdk.js Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
This commit is contained in:
parent
b0370ce44d
commit
2c3c1888f1
3 changed files with 38 additions and 0 deletions
|
@ -37,6 +37,19 @@ export const SDK_CSS = `.woot-widget-holder {
|
|||
user-select: none;
|
||||
}
|
||||
|
||||
.woot-widget-bubble.unread-notification::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background: #ff4040;
|
||||
border-radius: 100%;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
border: 2px solid #ffffff;
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
|
||||
.woot-widget-bubble.woot-widget--expanded {
|
||||
bottom: 24px;
|
||||
display: flex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue