Closed bryan-havenly closed 7 years ago
Update: The icons are actually for the next tab, not the current one. I was able to hide them with this CSS:
// Disable icons from pinned tabs
.tab-bar .texteditor.tab .title:before {
display: none;
}
I guess I can close this issue, though it seems weird that this extension would add tab icons instead of just providing the pinned tab functionality.
Thank you for reporting. And especially thanks for mentioning what theme you're running and that you don't have file-icons installed 👍
I'm glad you where able to solve this problem for yourself. Still, I'm going to try to fix the issue so it works correctly by default 🙂
Final update:
The only issue here is that file icons get added for unpinned tabs. Changing the selector for icons from .tab-bar .tab .title:before
to .tab-bar .tab.pinned .title:before
seems to be the solution. I'll work up a PR if I have time today.
Great! Thank you for find out what was wrong 😄
I just installed this package and it added icons to my tab bar that I don't want. I went to hide them with CSS but they seem to somehow not appear in the DOM for the tabs.
Here's a screenshot of the inspector for the above tab
I'm not sure how to give reproduction steps because this happened for me by just installing
pinned-tabs
. I'm not using any other packages that provide tabs or icons besides the coretabs
package. (Maybe it's useful to note that I don't have thefile-icons
package installed?) The theme I'm running isOne Light
, with no custom CSS at all.