Skip to content

libresign css affect list-style all over nextcloud #7632

@hugodu69

Description

@hugodu69

Describe the bug

when enabling libreSign app in nextcloud, it affects other apps ability to properly show list items

To reproduce

Since my apps Notes and Markdown didn't show the list number anymore, I inspected them, and discovered the source of the problem : an inline style list-style: none; from the file libresign/css/icon.css.

I tried disabling libreSign app, and indeed the list where working fine again.

I have no idea how Nextcloud style works, and why the style from one app can affect other apps, but this is a problem :)

A temporary fix was to use the Nextcloud app CustomCss and add this rule :

.text-editor__wrapper div.ProseMirror ol {
    list-style: decimal !important;
}

Expected behavior

When libreSign app is enabled, ordered list in markdown display apps in nextcloud should show numbers :

1. list item
2. list item

Screenshots

No response

Environment information

  • OS : debian 13
  • Browser : firefox 140.10.0esr
  • LibreSign Version : 11.6.0
  • Nextcloud server Version : Nextcloud Hub 10 (31.0.11)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    0. Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions