aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Julien-Pierre Avérous <github@sourcemac.com> 2020-04-20 23:27:17 +0200
committerGravatar GitHub <noreply@github.com> 2020-04-20 23:27:17 +0200
commitacca89505be6ec062ba1acd9cc7df49aac1711fe (patch)
tree092daf0e3577aae7f7d80fb7a5267d55599b9dd8 /p
parentbd9a72726dbaf26854994e9726091477548a991f (diff)
Enhance the way help elements are displayed (#2911)
* - Always display help under the targeted element. - Use same help place for HTTP authentication in 'add' feed view than in 'update' feed view. - Move help under input field in register view, as all other places (homogeneity). * - Don't use "!important" as suggested by @Alkarex.
Diffstat (limited to 'p')
-rw-r--r--p/themes/base-theme/template.css4
-rw-r--r--p/themes/base-theme/template.rtl.css4
2 files changed, 8 insertions, 0 deletions
diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css
index 07927b88d..151a00910 100644
--- a/p/themes/base-theme/template.css
+++ b/p/themes/base-theme/template.css
@@ -59,6 +59,10 @@ p {
font-size: 1em;
}
+p.help, .prompt p.help {
+ margin: 5px 0 0.5em;
+}
+
sup {
line-height: 25px;
position: relative;
diff --git a/p/themes/base-theme/template.rtl.css b/p/themes/base-theme/template.rtl.css
index d5eb11426..638aea6b9 100644
--- a/p/themes/base-theme/template.rtl.css
+++ b/p/themes/base-theme/template.rtl.css
@@ -59,6 +59,10 @@ p {
font-size: 1em;
}
+p.help, .prompt p.help {
+ margin: 5px 0 0.5em;
+}
+
sup {
line-height: 25px;
position: relative;