code-hike / codehike

Build rich content websites with Markdown and React
https://codehike.org
MIT License
4.68k stars 142 forks source link

option to remove traffic lights #121

Closed DanielFGray closed 2 years ago

DanielFGray commented 2 years ago

Is there an option or setting or work-around to remove the traffic lights on blocks with filenames?

pomber commented 2 years ago

You should be able to use CSS to hide them. I usually use something like this to change the colors:

.ch-frame-button {
  border-color: #5c5c5c !important;
  background-color: #535353 !important;
}
pomber commented 2 years ago

You can remove them with

.ch-frame-buttons {
  display: none;
}

Let me know if it doesn't work.