mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
Removed sources filter link from stats page (#22683)
no ref Sources filtering is inconsistent so we've disabled the filtering functionality until we can fix it.
This commit is contained in:
parent
a26b910f4e
commit
eea005754d
2 changed files with 11 additions and 2 deletions
|
@ -81,11 +81,12 @@ export default class TopSources extends Component {
|
|||
<span className="gh-stats-data-label">
|
||||
<a
|
||||
href="#"
|
||||
style={{cursor: 'default'}}
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
this.navigateToFilter(label || 'direct');
|
||||
// this.navigateToFilter(label || 'direct');
|
||||
}}
|
||||
className="gh-stats-bar-text"
|
||||
className="gh-stats-bar-text-nolink"
|
||||
>
|
||||
<img
|
||||
src={`https://www.faviconextractor.com/favicon/${label || 'direct'}?larger=true`}
|
||||
|
|
|
@ -302,6 +302,14 @@ a.gh-stats-data-label:hover {
|
|||
line-height: 1.3em;
|
||||
}
|
||||
|
||||
.gh-stats-bar-text-nolink {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: var(--black);
|
||||
line-height: 1.3em;
|
||||
}
|
||||
|
||||
.gh-stats-bar-text:hover span {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue