0
Fork 0
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:
Steve Larson 2025-03-27 15:33:47 -05:00 committed by GitHub
parent a26b910f4e
commit eea005754d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 2 deletions

View file

@ -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`}

View file

@ -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;
}