Skip to content
Snippets Groups Projects
Commit 12b69008 authored by Zach Auclair's avatar Zach Auclair
Browse files

feat(views/admin.html): allow text selection of setting descriptions

This change also swaps out the settings group display from <h3>
to <p> for a better look and feel.
parent 5978e5f7
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
{{else}} {{else}}
{{#with group}} {{#with group}}
<div class="info"> <div class="info">
<h3>{{description}}</h3> <p class="settings-description">{{description}}</p>
</div> </div>
{{/with}} {{/with}}
<div class="rocket-form"> <div class="rocket-form">
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
{{/if}} {{/if}}
<div> <div>
{{#if description}} {{#if description}}
<small>{{description}}</small> <small class="settings-description">{{description}}</small>
{{/if}} {{/if}}
</div> </div>
</div> </div>
......
...@@ -20,6 +20,12 @@ ...@@ -20,6 +20,12 @@
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
} }
.allow-text-selection {
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
}
:focus { :focus {
outline: 0 !important; outline: 0 !important;
...@@ -1706,6 +1712,9 @@ a.github-fork { ...@@ -1706,6 +1712,9 @@ a.github-fork {
} }
.page-settings { .page-settings {
.settings-description {
.allow-text-selection;
}
.rocket-form { .rocket-form {
max-width: none; max-width: none;
width: 100%; width: 100%;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment