gbif / hp-vertnet-plus

0 stars 2 forks source link

Code blocks text wrapping #7

Closed MortenHofft closed 2 years ago

MortenHofft commented 2 years ago

On the old VertNet site your codeblocks wrapped text. That isn't the case in this theme. If you want text to be wrapped inside a codeblock you need to add explicit css to do so.

CSS is added in https://github.com/gbif/hp-vertnet-plus/blob/master/_sass/_main.scss e.g.

code {
  white-space: normal;
}
dbloom commented 2 years ago

Understood. Added to my list of resources.