diff --git a/index.html b/index.html index cdb03ea..55d4ca2 100644 --- a/index.html +++ b/index.html @@ -1343,22 +1343,22 @@ render(html`<${App}/>`, document.body); .ChatScreen { flex: 1; display: none; flex-direction: column; background: #efeae2; } .App.show-chat .ChatScreen { display: flex; } - .ChatHeader { background:var(--header-bg); padding:.5rem; display:flex; align-items:center; gap:.5rem; border-bottom:1px solid #ddd; cursor:pointer; } + .ChatHeader { background:var(--header-bg); padding: .5rem; display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid #ddd; cursor: pointer; } .ChatHeader h3 { margin: 0; flex: 1; font-size: 1rem; } .BackButton, .SearchButton { font-size: 1.5rem; padding: .25rem; background: none; border: none; cursor: pointer; } - .Messages { flex:1; overflow-y:auto; padding:1rem; display:flex; flex-direction:column; gap:.5rem; } - .Message { background:white; padding:.5rem 1rem; border-radius:.5rem; max-width:70%; word-break:break-word; margin:.5rem auto; position:relative; } - .Message .reactions { display:flex; gap:.25rem; margin-top:.25rem; } + .Messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; } + .Message { background: white; padding: .5rem 1rem; border-radius: .5rem; max-width: 70%; word-break: break-word; margin: .5rem auto; position: relative; } + .Message .reactions { display: flex; gap: .25rem; margin-top: .25rem; } .Message .reactions button { background: #f5f5f5; border: none; border-radius: .25rem; padding: 0 .5rem; cursor: pointer; } .Message iframe { border: none; } .AddReactionBtn { font-size: .9rem; background: none; border: none; cursor: pointer; color: var(--whatsapp-green); } .ReactionInput { width: 2rem; padding: .1rem; font-size: 1rem; } .Timestamp { font-size: .75rem; color: #666; margin-top: .25rem; text-align: right; } - .SendBar { display:flex; gap:.5rem; padding:1rem; background:white; border-top:1px solid #ddd; flex-direction:column; } - .ReplyPreview { background:#f5f5f5; padding:.5rem; border-radius:.25rem; display:flex; justify-content:space-between; align-items:center; } - .EditArea { flex:1; padding:.5rem; border:1px solid #ddd; border-radius:.5rem; resize:none; } + .SendBar { display: flex; gap: .5rem; padding: 1rem; background: white; border-top: 1px solid #ddd; flex-direction: column; } + .ReplyPreview { background: #f5f5f5; padding: .5rem; border-radius: .25rem; display: flex; justify-content: space-between; align-items: center; } + .EditArea { flex: 1; padding: .5rem; border: 1px solid #ddd; border-radius: .5rem; resize: none; } .ContextMenu { position: fixed; z-index: 1000; min-width: 140px; @@ -1391,6 +1391,7 @@ render(html`<${App}/>`, document.body); .App.show-chat .ChatScreen { display: flex; } } +