Download:
child 136:3acc21abd6e8
parent 134:46bc2e4d7a20
135:2406e8c6f282
Anton Shestakov <av6@dwimlabs.net>, Mon, 11 Apr 2016 14:20:18 +0800
css: remove some styles for xhtml messages that come from uikit (<p> and <em>)

2 файлов изменено, 7 вставок(+), 1 удалений(-) [+]
css/tram-im.css file | annotate | diff | comparison | revisions
index.html file | annotate | diff | comparison | revisions
--- a/css/tram-im.css Mon Apr 11 14:08:19 2016 +0800
+++ b/css/tram-im.css Mon Apr 11 14:20:18 2016 +0800
@@ -97,6 +97,12 @@
.message .info {
color: teal;
}
+.message .xhtml-body p {
+ margin: 0;
+}
+.message .xhtml-body em {
+ color: inherit;
+}
.column {
display: table-cell;
vertical-align: middle;
--- a/index.html Mon Apr 11 14:08:19 2016 +0800
+++ b/index.html Mon Apr 11 14:20:18 2016 +0800
@@ -211,7 +211,7 @@
{ model:d/mstamp | from-now }
</time>
<div rv-unless="model:html">{ model:text }</div>
- <div rv-if="model:html" rv-html="model:html"></div>
+ <div class="xhtml-body" rv-if="model:html" rv-html="model:html"></div>
</div>
</div>
</script>