mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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">
|
<div class="setting-label">
|
||||||
<h3>
|
<h3>
|
||||||
{{#if staffLogFilter}}
|
{{#if staffLogFilter}}
|
||||||
|
{{settingName}}
|
||||||
{{#link-to "adminLogs.staffActionLogs" (query-params filters=staffLogFilter) title=(i18n "admin.settings.history")}}
|
{{#link-to "adminLogs.staffActionLogs" (query-params filters=staffLogFilter) title=(i18n "admin.settings.history")}}
|
||||||
{{settingName}}
|
|
||||||
<span class="history-icon">
|
<span class="history-icon">
|
||||||
{{d-icon "history"}}
|
{{d-icon "history"}}
|
||||||
</span>
|
</span>
|
||||||
|
@ -15,18 +15,13 @@
|
|||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
h3 {
|
.history-icon {
|
||||||
a:any-link {
|
opacity: 0;
|
||||||
color: unset;
|
transition: opacity 0.3s;
|
||||||
}
|
color: var(--primary-medium);
|
||||||
.history-icon {
|
}
|
||||||
opacity: 0;
|
&:hover .history-icon {
|
||||||
transition: opacity 0.3s;
|
opacity: 1;
|
||||||
color: var(--primary-medium);
|
|
||||||
}
|
|
||||||
&:hover .history-icon {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.setting-value {
|
.setting-value {
|
||||||
|
Loading…
Reference in New Issue
Block a user