Refined-github: Hide "Readme" text from repositories

Created on 19 Sep 2020  路  6Comments  路  Source: sindresorhus/refined-github

Does anyone have any idea of why this link exists on repo roots like https://github.com/sindresorhus/refined-github?

It points to the same page. Should we hide it? It can just be part of refined-github.css:

.BorderGrid-cell [href="#readme"] {
    display: none;
}
enhancement good first issue help wanted under discussion

All 6 comments

This is likely a feature they had for jumping to readme if repo root had a long list of files. Either that or it is put there to not leave "license" alone.

Indeed. Then we should probably remove the feature that collapses the files since it accomplishes the same thing.

PR welcome to drop toggle-files-button

Let's hide the link instead

@fregante should we just put in the css file of toggle-files-button? I was thinking that the reason we want it disabled is because of the feature.

I was thinking that the reason we want it disabled is because of the feature.

Makes sense, let's not add conditional classes just yet though

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexanderadam picture alexanderadam  路  3Comments

MilesBHuff picture MilesBHuff  路  3Comments

sompylasar picture sompylasar  路  3Comments

mischah picture mischah  路  3Comments

yakov116 picture yakov116  路  3Comments