UX: Only link the icon for site setting history (#11265)

Linking the whole site setting name makes it tricky to copy/paste the name, which is common when asking/answering support queries.
This commit is contained in:
David Taylor 2020-11-17 15:59:55 +00:00 committed by GitHub
parent 96aca6d994
commit c62f082754
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 13 deletions

View File

@ -1,8 +1,8 @@
<div class="setting-label"> <div class="setting-label">
<h3> <h3>
{{#if staffLogFilter}} {{#if staffLogFilter}}
{{#link-to "adminLogs.staffActionLogs" (query-params filters=staffLogFilter) title=(i18n "admin.settings.history")}}
{{settingName}} {{settingName}}
{{#link-to "adminLogs.staffActionLogs" (query-params filters=staffLogFilter) title=(i18n "admin.settings.history")}}
<span class="history-icon"> <span class="history-icon">
{{d-icon "history"}} {{d-icon "history"}}
</span> </span>

View File

@ -15,10 +15,6 @@
margin-bottom: 6px; margin-bottom: 6px;
} }
} }
h3 {
a:any-link {
color: unset;
}
.history-icon { .history-icon {
opacity: 0; opacity: 0;
transition: opacity 0.3s; transition: opacity 0.3s;
@ -28,7 +24,6 @@
opacity: 1; opacity: 1;
} }
} }
}
.setting-value { .setting-value {
float: left; float: left;
width: 53%; width: 53%;