Merge pull request #19 from Canuc80k/master

Center the Join Button in Contest List
This commit is contained in:
Phuoc Dinh Le 2022-10-08 15:10:55 -05:00 committed by GitHub
commit b87cfbb774
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,6 +100,12 @@
background: darkblue; 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 { .button.full, input[type=submit].full, button.full {
@ -590,4 +596,4 @@ ul.select2-selection__rendered {
.control-button:hover { .control-button:hover {
background: gray; background: gray;
} }