aboutsummaryrefslogtreecommitdiffstats
path: root/interface/css
diff options
context:
space:
mode:
authorAnna Stakhova <anna@rspamd.com>2016-11-29 17:23:45 +0000
committerAnna Stakhova <anna@rspamd.com>2016-11-29 17:23:45 +0000
commita9ce4a751f09f86de88759b3d167e6d4709cdf69 (patch)
treeaed0492ac99d54effefe61eb07cf8b3b43ff40e0 /interface/css
parent1bff80c25e5a3d2fbe70f95801f651586e8c9844 (diff)
downloadrspamd-a9ce4a751f09f86de88759b3d167e6d4709cdf69.tar.gz
rspamd-a9ce4a751f09f86de88759b3d167e6d4709cdf69.zip
[WebUI] diagram centered
The diagram is centered for smal screen
Diffstat (limited to 'interface/css')
-rw-r--r--interface/css/rspamd.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/interface/css/rspamd.css b/interface/css/rspamd.css
index c78103841..538399669 100644
--- a/interface/css/rspamd.css
+++ b/interface/css/rspamd.css
@@ -51,12 +51,17 @@ textarea {
.chart-content {
text-align:center;
}
- .chart {
+.chart {
height:400px;
margin:0 auto;
text-align:center;
background:#fff;
+ display: flex;
+ justify-content: center;
}
+.chart svg {
+ flex: none;
+}
.notice {
display:none;
}