diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-13 22:12:11 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-13 22:12:11 -0400 |
commit | b9560374cd9d06b9009eb48ef0f0cefe04a4daed (patch) | |
tree | c210dd65913b751e214ef73a21ed99fd7865fb03 /public | |
parent | a5926f2689d3ed0e457b4bad672af58c8303e4a1 (diff) | |
download | gitea-b9560374cd9d06b9009eb48ef0f0cefe04a4daed.tar.gz gitea-b9560374cd9d06b9009eb48ef0f0cefe04a4daed.zip |
UI fix
Diffstat (limited to 'public')
-rw-r--r-- | public/ng/css/ui.css | 3 | ||||
-rw-r--r-- | public/ng/less/ui/form.less | 17 |
2 files changed, 13 insertions, 7 deletions
diff --git a/public/ng/css/ui.css b/public/ng/css/ui.css index 644fd83886..7c385c1349 100644 --- a/public/ng/css/ui.css +++ b/public/ng/css/ui.css @@ -525,6 +525,9 @@ input[readonly]:focus { .form-align .field { margin-bottom: 1em; } +label.text-left { + text-align: left; +} label.req:after { content: "*"; color: #d9453d; diff --git a/public/ng/less/ui/form.less b/public/ng/less/ui/form.less index 80d948662c..4a681994de 100644 --- a/public/ng/less/ui/form.less +++ b/public/ng/less/ui/form.less @@ -176,7 +176,6 @@ input[readonly] { margin-bottom: 1em; } } - .form-align { label, .form-label { @@ -189,10 +188,14 @@ input[readonly] { margin-bottom: 1em; } } - -label.req { - &:after { - content: "*"; - color: @labelRedColor; - } +label { + &.text-left { + text-align: left; + } + &.req { + &:after { + content: "*"; + color: @labelRedColor; + } + } }
\ No newline at end of file |