Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix custom CSS help

Chocobozzz7113b5cd3240
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
index b7d95bc22c..6b654c67d5 100644
--- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
+++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
@@ -318,18 +318,18 @@
helpType="custom"
i18n-customHtml
customHtml="
- Write directly CSS code. Example:<br />
+ Write directly CSS code. Example:<br /><br />
<pre>
- body {{ '{' }}
- background-color: red;
- {{ '}' }}
+ #custom-css {{ '{' }}
+ color: red;
+ {{ '}' }}
</pre>
- Prepend with <em>#custom-css</em> to override styles. Example:
+ Prepend with <em>#custom-css</em> to override styles. Example:<br /><br />
<pre>
- #custom-css .logged-in-email {{ '{' }}
- color: red;
- {{ '}' }}
+ #custom-css .logged-in-email {{ '{' }}
+ color: red;
+ {{ '}' }}
</pre>
"
></my-help>