files_markdown icon indicating copy to clipboard operation
files_markdown copied to clipboard

Opening the detail panel of a markdown file changes Nextcloud font

Open ghost opened this issue 6 years ago • 3 comments

Hey,

I noticed that when you click on the modified column of a markdown file, to bring up the detail pane, the font of Nextcloud (the entire app) changes to Serif. I tried looking up a bit in the css inspector what's going on, but I couldn't figure it out yet. Is it a generalized issue?

On 2.0.4 Tested in Firefox.

Cheers,

Vincent

ghost avatar Mar 06 '18 22:03 ghost

Same here:

grafik

On 2.0.4 Tested in Firefox 59.0.1 on OS X 10.10.5

JohnWalkerx avatar Mar 24 '18 16:03 JohnWalkerx

Hi,

When you noticed this issue, is it possible, that you tried the Markdown examples and used the mermaid example? I discovered that this issue was only triggered on my system, when I used the following example code:

graph TD;
    Hunger-->Fast-Food;
    Hunger-->Gemüse;
    Gemüse-->gutes_Gewissen;
    Fast-Food-->schlechtes_Gewissen;
    gutes_Gewissen-->Satt;
    schlechtes_Gewissen-->Satt;

That broke the CSS for me as soon as the details pane for the md file was opened. When I removed these lines from file, everything was fine again. Could you test that please?

Schmuuu avatar May 15 '18 14:05 Schmuuu

Hey,

This is correct. On my system is the same behavior. Only files with mermaid graph broke the CSS.

If I use the Sequence Diagram or the Gantt Diagram of mermaid, everything is fine. For example:

sequenceDiagram
    Alice->>John: Hello John, how are you?
    John-->>Alice: Great!

JohnWalkerx avatar May 15 '18 18:05 JohnWalkerx