BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Specific pages are not affected when Custom CSS is applied

Open merrime-n opened this issue 1 year ago • 3 comments

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

merrime-n avatar Jul 06 '24 06:07 merrime-n

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.

ssddanbrown avatar Jul 06 '24 13:07 ssddanbrown

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

merrime-n avatar Jul 06 '24 14:07 merrime-n

@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 avatar Jul 06 '24 14:07 ssddanbrown

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

ssddanbrown avatar Sep 26 '24 13:09 ssddanbrown

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.

merrime-n avatar Oct 14 '24 14:10 merrime-n