From 57268d65b8a7f646ca1388755a087dd63432aa81 Mon Sep 17 00:00:00 2001 From: Canuc80k Date: Thu, 25 Aug 2022 22:34:21 +0700 Subject: [PATCH] Center the Join Button in Contest List --- resources/widgets.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/widgets.scss b/resources/widgets.scss index 6205be1..f99122e 100644 --- a/resources/widgets.scss +++ b/resources/widgets.scss @@ -100,6 +100,12 @@ background: darkblue; } } + + // class = "unselectable button full small" only appear in online-judge/templates/contest/list.html + // this attribute center buttons in contest list (including "Join", "Virutal Join", "Spectable") + &.unselectable.button.full.small { + margin: 0 auto + } } .button.full, input[type=submit].full, button.full { @@ -590,4 +596,4 @@ ul.select2-selection__rendered { .control-button:hover { background: gray; -} +} \ No newline at end of file