removed inline css

v1.18.x
Baris Soner Usakli 11 years ago
parent b78dc3eca8
commit b303fdcfd7

@ -227,9 +227,9 @@ define(['taskbar', 'string'], function(taskbar, S) {
var chatContent = chatModal.find('#chat-content');
var date = new Date(parseInt(timestamp, 10));
// todo Add this to a stylesheet instead of style tag
var prefix = '<span style="color: darkgrey;" class="chat-timestamp">' + date.toLocaleTimeString() + '</span> ';
message = "<div>" + S(prefix + message).stripTags('p').s + "</div>";
var prefix = '<span class="chat-timestamp">' + date.toLocaleTimeString() + '</span> ';
message = '<li>' + S(prefix + message).stripTags('p').s + '</li>';
chatContent.append(message);
scrollToBottom(chatContent);

@ -7,7 +7,7 @@
<h4>[[modules:chat.chatting_with]]</h4>
</div>
<div class="modal-body">
<div id="chat-content" class="well well-sm" style="height:250px; overflow-y:scroll; font-size: 14px;"></div>
<ul id="chat-content" class="well well-sm"></ul>
<div class="input-group">
<input id="chat-message-input" type="text" placeholder="[[modules:chat.placeholder]]" name="chat-message" class="form-control">
<span class="input-group-btn">

Loading…
Cancel
Save