mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: enhance english display
This commit is contained in:
1 parent
0a4cd76a47
commit
c58c0d8465
3 files changed
+13
-1
No files matched your search
@@ -14,6 +14,10 @@
|
|||||||
.col--difficulty
|
.col--difficulty
|
||||||
width: rem(70px)
|
width: rem(70px)
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
|
&[lang="en"]
|
||||||
|
.col--difficulty
|
||||||
|
width: rem(95px)
|
||||||
|
|
||||||
.col--ac-tried
|
.col--ac-tried
|
||||||
width: rem(100px)
|
width: rem(100px)
|
||||||
|
|||||||
@@ -13,10 +13,18 @@
|
|||||||
.col--detail
|
.col--detail
|
||||||
width: rem(50px)
|
width: rem(50px)
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
|
&[lang="en"]
|
||||||
|
.col--detail
|
||||||
|
width: rem(75px)
|
||||||
|
|
||||||
.col--ac
|
.col--ac
|
||||||
width: rem(50px)
|
width: rem(50px)
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
|
&[lang="en"]
|
||||||
|
.col--ac
|
||||||
|
width: rem(70px)
|
||||||
|
|
||||||
.col--bio
|
.col--bio
|
||||||
display: block;
|
display: block;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{% import "components/noscript_note.html" as noscript_note with context %}
|
{% import "components/noscript_note.html" as noscript_note with context %}
|
||||||
{% import "components/user.html" as user with context %}
|
{% import "components/user.html" as user with context %}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html data-page="{{ page_name }}" data-layout="{{ layout_name }}" class="layout--{{ layout_name }} page--{{ page_name }} theme--{{ (handler.user|default({})).theme|default('default') }} nojs" lang="{{ handler.viewLang }}" data-app="Hydro">
|
<html data-page="{{ page_name }}" data-layout="{{ layout_name }}" class="layout--{{ layout_name }} page--{{ page_name }} theme--{{ (handler.user|default({})).theme|default('default') }} nojs" lang="{{ UserContext.viewLang }}" data-app="Hydro">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||||
|
|||||||
Reference in new issue
Block a user