Преглед на файлове

Fix mermaid chart size (#13863)

* Fix mermaid chart size

Seems like one of the recent updates to the module unexpectedly shrunk
these charts, bring them back up to full width.

* don't stretch to full width

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
tags/v1.15.0-dev
silverwind преди 3 години
родител
ревизия
173e512700
No account linked to committer's email address
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2
    1
      web_src/less/markdown/mermaid.less

+ 2
- 1
web_src/less/markdown/mermaid.less Целия файл

@@ -3,7 +3,8 @@
justify-content: center;
align-items: center;
padding: 1rem;
margin: 1rem 0;
margin: 1rem auto;
height: auto;
}

/* mermaid's errorRenderer seems to unavoidably spew stuff into <body>, hide it */

Loading…
Отказ
Запис