From 4536e7510029647b0bb196f4d8b8ce2c547314c9 Mon Sep 17 00:00:00 2001 From: Menci Date: Thu, 23 Mar 2017 17:07:40 +0800 Subject: [PATCH] UI optimize --- static/style.css | 10 +++++++--- views/contest.ejs | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/static/style.css b/static/style.css index 726e391..7d2e744 100644 --- a/static/style.css +++ b/static/style.css @@ -33,6 +33,11 @@ img { max-width: 100%; } +table.center.aligned ul, table.center.aligned ol { + display: inline-block; + text-align: left; +} + /* status color */ /* @@ -179,8 +184,7 @@ img { } } -.spinner.icon { +.spinner.icon:before { animation: spinner-icon-rotate 3s linear infinite; - width: 16.52px; - height: 16.52px; + display: block; } diff --git a/views/contest.ejs b/views/contest.ejs index 6faabe1..e9580a5 100644 --- a/views/contest.ejs +++ b/views/contest.ejs @@ -66,6 +66,7 @@ <% } else if (problem.status !== false) { %> + <%= problem.status %> <% } %>