summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-07-13 12:13:29 (GMT)
committerTobias Markmann <tm@ayena.de>2016-07-13 12:13:29 (GMT)
commit4ada31c0d93c4e26c9d00253b757c19dd023449d (patch)
tree91d39dbb13cd3e701615d2fb683e8d1753bf3877 /Swift
parentd84395df8452696250ee5e20006369f49b99c860 (diff)
downloadswift-4ada31c0d93c4e26c9d00253b757c19dd023449d.zip
swift-4ada31c0d93c4e26c9d00253b757c19dd023449d.tar.bz2
Fix spacing between nickname and message in own MUC history
Test-Information: Joined a room with MUC history and verified that the spacing between nickname and message is always the same. Change-Id: I67c07a93ec90b8f16e44d613a7c71c70cb164eb5
Diffstat (limited to 'Swift')
-rw-r--r--Swift/resources/themes/Default/Incoming/Content.html2
-rw-r--r--Swift/resources/themes/Default/Outgoing/Content.html2
-rw-r--r--Swift/resources/themes/Default/main.css10
3 files changed, 7 insertions, 7 deletions
diff --git a/Swift/resources/themes/Default/Incoming/Content.html b/Swift/resources/themes/Default/Incoming/Content.html
index 4f54cc4..b6e9ec5 100644
--- a/Swift/resources/themes/Default/Incoming/Content.html
+++ b/Swift/resources/themes/Default/Incoming/Content.html
@@ -13,7 +13,7 @@
</div>
</div>
<div class="text">
- <p class="otherusername">%wrapped_sender%</p>
+ <p class="otherusername username">%wrapped_sender%</p>
<div class="message-content">%message%</div>
</div>
</div>
diff --git a/Swift/resources/themes/Default/Outgoing/Content.html b/Swift/resources/themes/Default/Outgoing/Content.html
index 439b5c2..7aada5d 100644
--- a/Swift/resources/themes/Default/Outgoing/Content.html
+++ b/Swift/resources/themes/Default/Outgoing/Content.html
@@ -13,7 +13,7 @@
</div>
</div>
<div class="text">
- <p class="myusername">%wrapped_sender%</p>
+ <p class="myusername username">%wrapped_sender%</p>
<div class="message-content">%message%</div>
</div>
</div>
diff --git a/Swift/resources/themes/Default/main.css b/Swift/resources/themes/Default/main.css
index 4389575..68406ea 100644
--- a/Swift/resources/themes/Default/main.css
+++ b/Swift/resources/themes/Default/main.css
@@ -226,19 +226,19 @@ body {
word-break: break-all; /* Break long URLs at any point. */
}
-.myusername {
- color: #92c47e;
+.username {
margin-left: 20px;
font-weight: 700;
margin-top: 0px;
margin-bottom: 0.2em;
}
+.myusername {
+ color: #92c47e;
+}
+
.otherusername {
color: #6eb6ce;
- margin-left: 20px;
- font-weight: 700;
- margin-top: 0px;
}
.message-content {