diff --git a/packages/web-components/src/components/va-on-this-page/test/va-on-this-page.e2e.ts b/packages/web-components/src/components/va-on-this-page/test/va-on-this-page.e2e.ts
index cc316ead7..3c13599c0 100644
--- a/packages/web-components/src/components/va-on-this-page/test/va-on-this-page.e2e.ts
+++ b/packages/web-components/src/components/va-on-this-page/test/va-on-this-page.e2e.ts
@@ -12,10 +12,9 @@ describe('va-on-this-page', () => {
@@ -59,19 +58,21 @@ describe('va-on-this-page', () => {
@@ -98,15 +99,15 @@ describe('va-on-this-page', () => {
@@ -135,19 +136,21 @@ describe('va-on-this-page', () => {
diff --git a/packages/web-components/src/components/va-on-this-page/va-on-this-page.css b/packages/web-components/src/components/va-on-this-page/va-on-this-page.css
index 476dd70df..3a391163e 100644
--- a/packages/web-components/src/components/va-on-this-page/va-on-this-page.css
+++ b/packages/web-components/src/components/va-on-this-page/va-on-this-page.css
@@ -7,6 +7,7 @@
border-radius: 4px;
padding: 1em;
}
+
@media (min-width: 768px) {
:host {
border: none;
@@ -14,17 +15,13 @@
}
}
-dt {
+#on-this-page {
font-family: var(--font-serif);
font-size: 1.25rem;
margin: 0.4em 0em;
}
-dd {
- margin: 0.4em 0em;
-}
-
-dl {
+ul {
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
@@ -32,18 +29,27 @@ dl {
padding-left: 0;
}
-dd a {
- display: flex;
- align-items: baseline;
+li {
padding: 0.5em;
- line-height: 1.5em;
max-width: 285px;
}
-a:active {
- background-color: var(--vads-color-base-lighter);
+li a {
+ line-height: 1.5em;
+ display: flex;
+}
+
+li:hover {
+ background-color: rgba(0, 0, 0, 0.05);
+}
+
+/* Needed to override the background color from the links mixin */
+li a:hover {
+ background-color: transparent;
}
va-icon {
margin-right: 4px;
+ padding-top: 4px;
+ line-height: 1;
}
\ No newline at end of file
diff --git a/packages/web-components/src/components/va-on-this-page/va-on-this-page.tsx b/packages/web-components/src/components/va-on-this-page/va-on-this-page.tsx
index 6be75fc84..62c7558ba 100644
--- a/packages/web-components/src/components/va-on-this-page/va-on-this-page.tsx
+++ b/packages/web-components/src/components/va-on-this-page/va-on-this-page.tsx
@@ -90,17 +90,17 @@ export class VaOnThisPage {
return (
);
}