Skip to content

Commit a6a3e52

Browse files
ethanalee-workgopherbot
authored andcommitted
static/frontend: fix link svg rendering in darkmode
- Ensure that svgs have the correct styling in dark mode. Change-Id: I5069e6493054d70fac7e27ec0bb6937c6baa97ba Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/734621 Reviewed-by: Nicholas Husin <nsh@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ethan Lee <ethanalee@google.com> Reviewed-by: Nicholas Husin <husin@google.com> kokoro-CI: kokoro <noreply+kokoro@google.com>
1 parent 3a74f05 commit a6a3e52

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

static/frontend/frontend.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/frontend/frontend.min.css.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/frontend/unit/main/_meta.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<li>
3535
<a href="{{.}}" title="View this module on Open Source Insights"
3636
target="_blank" rel="noopener" data-test-id="meta-link-depsdev">
37-
<img class="depsdev-Icon" src="/static/shared/icon/depsdev-logo.svg"
37+
<img class="link-Icon" src="/static/shared/icon/depsdev-logo.svg"
3838
alt="Open Source Insights Logo" />
3939
Open Source Insights
4040
</a>
@@ -44,7 +44,7 @@
4444
<li>
4545
<a href="{{.}}" title="View this repo on Code Wiki"
4646
target="_blank" rel="noopener" data-test-id="meta-link-codewiki">
47-
<img class="go-Icon" src="/static/shared/icon/codewiki-logo.svg"
47+
<img class="link-Icon" src="/static/shared/icon/codewiki-logo.svg"
4848
alt="Code Wiki Logo" />
4949
Code Wiki
5050
</a>

static/shared/icon/icon.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* license that can be found in the LICENSE file.
55
*/
66

7-
.depsdev-Icon {
7+
.link-Icon {
88
height: 1.125em;
99
vertical-align: text-bottom;
1010
width: auto;

0 commit comments

Comments
 (0)