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:
parent
96aca6d994
commit
c62f082754
|
@ -1,8 +1,8 @@
|
|||
<div class="setting-label">
|
||||
<h3>
|
||||
{{#if staffLogFilter}}
|
||||
{{settingName}}
|
||||
{{#link-to "adminLogs.staffActionLogs" (query-params filters=staffLogFilter) title=(i18n "admin.settings.history")}}
|
||||
{{settingName}}
|
||||
<span class="history-icon">
|
||||
{{d-icon "history"}}
|
||||
</span>
|
||||
|
|
|
@ -15,18 +15,13 @@
|
|||
margin-bottom: 6px;
|
||||
}
|
||||
}
|
||||
h3 {
|
||||
a:any-link {
|
||||
color: unset;
|
||||
}
|
||||
.history-icon {
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s;
|
||||
color: var(--primary-medium);
|
||||
}
|
||||
&:hover .history-icon {
|
||||
opacity: 1;
|
||||
}
|
||||
.history-icon {
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s;
|
||||
color: var(--primary-medium);
|
||||
}
|
||||
&:hover .history-icon {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
.setting-value {
|
||||
|
|
Loading…
Reference in New Issue