nostalgic-css / NES.css

NES-style CSS Framework | ファミコン風CSSフレームワーク
https://nostalgic-css.github.io/NES.css/
MIT License
20.61k stars 1.65k forks source link

Bug: Code format on Documentation site #298

Closed samzeng closed 5 years ago

samzeng commented 5 years ago

Describe the bug Code format in the code demo div.

To Reproduce Steps to reproduce the behavior:

  1. Open documentation demo website;
  2. Click on the "show code button".

Expected behavior expected

Screenshots screenshots

Environment:

Suggestion(s) for fixing this issue https://github.com/nostalgic-css/NES.css/blob/develop/demo/style.css#L112

.sample-code > code {
  display: block; /* add this code */
  padding: 1em 2em; /* padding not working inline element */
  line-height: 2em;
}

Result: toggle-fixed

Additional context N/A

guastallaigor commented 5 years ago

Hello, thank you but this issue is duplicate of #293. The display property I think it will also be fixed when #293 is done.