Skip to content

Commit

Permalink
Merge pull request #259 from eecs485staff/image-fix
Browse files Browse the repository at this point in the history
[Bugfix] Make image backgrounds transparent
  • Loading branch information
seshrs authored Mar 14, 2024
2 parents 558ccbc + 61d45ac commit 92dead2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.10.1
1.10.2.d
1 change: 1 addition & 0 deletions _sass/spec/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,7 @@ div.primer-spec-callout {

.markdown-body img {
border: 1px solid var(--main-image-border-color);
background-color: transparent; // Override default white bg from primer
}
.markdown-body img.no-border {
border: 0px !important;
Expand Down
2 changes: 1 addition & 1 deletion jekyll-theme-primer-spec.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Gem::Specification.new do |s|
s.license = 'MIT'

s.add_dependency 'jekyll', '> 3.5', '< 4.0'
s.add_runtime_dependency 'jekyll-github-metadata', '~> 2.9'
s.add_runtime_dependency 'jekyll-github-metadata', '2.13'
s.add_runtime_dependency 'jekyll-seo-tag', '~> 2.0'
s.add_runtime_dependency 'jekyll-default-layout'
s.add_development_dependency 'html-proofer', '~> 3.0'
Expand Down

0 comments on commit 92dead2

Please sign in to comment.