Skip to content

Allow inline CSS in docs #9349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 13, 2019
Merged

Allow inline CSS in docs #9349

merged 1 commit into from
Dec 13, 2019

Conversation

jolheiser
Copy link
Member

The heading anchors use inline CSS, so changing this will stop the console CSP errors and style them the same green color our other links use.

Current:
gitea_black

After:
gitea_green

@codecov-io
Copy link

Codecov Report

Merging #9349 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9349      +/-   ##
==========================================
+ Coverage   41.26%   41.27%   +<.01%     
==========================================
  Files         561      561              
  Lines       73439    73439              
==========================================
+ Hits        30307    30312       +5     
+ Misses      39338    39331       -7     
- Partials     3794     3796       +2
Impacted Files Coverage Δ
modules/migrations/migrate.go 23.4% <0%> (-1.6%) ⬇️
modules/migrations/gitea.go 8.84% <0%> (-0.64%) ⬇️
models/repo.go 47.92% <0%> (-0.05%) ⬇️
models/error.go 34.5% <0%> (+1.17%) ⬆️
modules/process/manager.go 78.31% <0%> (+3.61%) ⬆️
modules/task/migrate.go 28.94% <0%> (+3.94%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f09cdb2...8573df1. Read the comment docs.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 13, 2019
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Dec 13, 2019
@techknowlogick techknowlogick added the type/docs This PR mainly updates/creates documentation label Dec 13, 2019
@guillep2k
Copy link
Member

It's not the subject of this PR, but the tea cup color seems a little blueish.

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Dec 13, 2019
@jolheiser
Copy link
Member Author

It's not the subject of this PR, but the tea cup color seems a little blueish.

It just uses currentColor, which ends up being the color of links.

@lafriks lafriks merged commit 8f16a2c into go-gitea:master Dec 13, 2019
@jolheiser jolheiser deleted the patch-3 branch December 13, 2019 20:21
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/docs This PR mainly updates/creates documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants