BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
15.49k stars 1.95k forks source link

Specific pages are not affected when Custom CSS is applied #5103

Closed okaeiz closed 2 months ago

okaeiz commented 4 months ago

Describe the Bug

I have created a custom CSS block which is used to make the UI right to left and change the font. It works everywhere but it doesn't affect the font of this specific page:

.../settings/features

Is there something different with this page?

Steps to Reproduce

  1. Go to settings
  2. Add a style block
  3. The settings page itself is not changed

Expected Behaviour

Since I have used an asterisk in my CSS to affect everywhere, I expect all pages to have the same font.

Screenshots or Additional Context

The other pages: 1

The Settings page: 2

Browser Details

No response

Exact BookStack Version

v24.05.1

ssddanbrown commented 4 months ago

Hi @okaeiz, Custom head HTML isn't applied to the settings page to ensure those pages remain accessible (and settings remain unaltered) in the case where any problematic/breaking code is applied.

okaeiz commented 4 months ago

So, what's your suggestion? It is annoyingly inconsistent.

ssddanbrown commented 4 months ago

@okaeiz If really wanted, you could apply customizations via the visual theme system instead, overriding this view and adding styles, which would then be applied to all views.

ssddanbrown commented 2 months ago

I'll go ahead and close this off. #5219 has been open as a related request.

okaeiz commented 1 month ago

People raise issues and issues get closed with no convincing reason (e.g custom headings are not allowed because the project owner prefers to zoom in and zoom out and expects other people to follow this method). PRs are not welcomed. I don't know how this project is open to contributions.