作者:工商领域LW | 来源:互联网 | 2023-09-14 19:58
I don't know if this should even be here, but when I run gitpitch inside of a container I'm unable to use custom css.
The logs in the container say:
Front-End-Pool [debug] c.g.m.SlideshowModel - fetchThemeOverride: customCSS=null
But using the exact same presentation and running on my local machine:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| Front-End-Pool [debug] c.g.m.SlideshowModel - fetchThemeOverride: customCSS=.reveal section img {
margin: 0;
border: 0;
box-shadow: none;
}
.reveal h2 {
text-transform: none;
}
.reveal h1 {
text-transform: none;
}
#gp-logo img {
max-height: none;
max-width: 99%;
vertical-align: middle;
} |
I'm not sure where to even start troubleshooting this. The css override line in PITCHME.yaml is:
theme-override : https://gitlab.company.com/myuser/gitpitch_test/raw/master/assets/css/PITCHME.css
(I've also used the relative path within the repo which also exhibits the same behavior.)
I've used knsit/gitpitch off of dockerhub and I've also built my own with both alpine and centos7 as a base, all the containers act the same way, the custom css doesn't work.
The whole PITCHME.yaml is:
1 2 3 4 5 6 7
| ---
theme : white
theme-override : https://gitlab.company.com/myuser/gitpitch_test/raw/master/assets/css/PITCHME.css
layout : center-left
logo : assets/images/combined-topbar-logo.png
transition : none
published : true |
The actual markdown is a bog-standard hello-world.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| ---?image=assets/images/background.png&size=auto 50%&position=bottom
[Introduction]
## Company IT Infrastructure
Domain Roadmap
$someTechnology Domain goes here
---
[Current State]
## Current State
Describes the current state of the technology domain within Company
Which technologies exist within the domain today
How these technologies are used (use cases)
If multiple technologies are used for the same use case, the relative quantities or percentages |
Further notes: we're using an internal gitlab server and we have internally signed ssl certs. We've accounted for the certs in our dockerfile by modifying application.conf to use PEM and copying our root ca certs into the container.
Is it possible for someone else to try to replicate this so we can eliminate a gitpitch bug and keep looking internally?
该提问来源于开源项目:gitpitch/gitpitch
Just checking in, did the fallback config help?