Skip to content

Commit 11d1919

Browse files
save file
1 parent dc9a02e commit 11d1919

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

html/chat-room/html/chat-room-display/chat-room-display.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
#view > div:nth-child(even)
1414
{background: #e0e0e0}
1515

16+
#empty
17+
{font-size:18px;font-weight:bold;color:whitesmoke;background:transparent !important}
18+
1619
.msg
1720
{display:flex;gap:30px;align-items:center;padding:10px 20px}
1821
.msg:hover
@@ -33,6 +36,9 @@
3336

3437

3538
<section id=view>
39+
<div id=empty>
40+
Empty
41+
</div>
3642
</section>
3743

3844

@@ -106,6 +112,10 @@
106112

107113
display.list(list)
108114

115+
if(msgs.length!=0){
116+
empty.remove();
117+
}
118+
109119
}//result
110120

111121

0 commit comments

Comments
 (0)