show border when there is no selected DM

This commit is contained in:
Kamal Raj Sekar 2023-11-30 06:31:34 +00:00 committed by Kieran
parent 91ae31a267
commit 7a27bb022e
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
2 changed files with 7 additions and 1 deletions

View File

@ -109,7 +109,7 @@ export default function MessagesPage() {
.map(conversation)}
</div>
)}
{chat ? <DmWindow id={chat} /> : pageWidth >= TwoCol && <div className="flex-1"></div>}
{chat ? <DmWindow id={chat} /> : pageWidth >= TwoCol && <div className="flex-1 rt-border"></div>}
</div>
);
}

View File

@ -982,3 +982,9 @@ svg.repeat {
.close-button:hover {
background: rgba(255, 255, 255, 0.15); /* 15% opacity white background on hover */
}
@media (min-width: 768px) {
.rt-border{
border-right-width: 1px;
border-right-color: red;
}
}