From 0d7b7c2b33c927e610002bbe93a4ecff259ec64b Mon Sep 17 00:00:00 2001 From: undefined Date: Wed, 6 Apr 2022 21:29:15 +0800 Subject: [PATCH] ui: set min-width for homework_scoreboard user field --- packages/ui-default/package.json | 2 +- packages/ui-default/pages/homework_scoreboard.page.styl | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/ui-default/package.json b/packages/ui-default/package.json index 5a8d1e8d..505ef960 100644 --- a/packages/ui-default/package.json +++ b/packages/ui-default/package.json @@ -1,6 +1,6 @@ { "name": "@hydrooj/ui-default", - "version": "4.34.37", + "version": "4.34.38", "author": "undefined ", "license": "AGPL-3.0", "main": "hydro.js", diff --git a/packages/ui-default/pages/homework_scoreboard.page.styl b/packages/ui-default/pages/homework_scoreboard.page.styl index 380b59a1..def0f5c4 100644 --- a/packages/ui-default/pages/homework_scoreboard.page.styl +++ b/packages/ui-default/pages/homework_scoreboard.page.styl @@ -1,10 +1,11 @@ .page--homework_scoreboard .col--rank - width: rem(70px) + width: rem(60px) + text-align: center border-right: 1px solid $table-border-color .col--user - width: auto + min-width: rem(150px) .col--total_score, .col--time width: rem(100px)