diff --git a/.changeset/sweet-apples-fetch.md b/.changeset/sweet-apples-fetch.md new file mode 100644 index 000000000..20ee7be52 --- /dev/null +++ b/.changeset/sweet-apples-fetch.md @@ -0,0 +1,5 @@ +--- +'@hashicorp/react-subnav': patch +--- + +Attempts to fix overflow issue that causes layout shift on dot-io sites. diff --git a/packages/subnav/style.module.css b/packages/subnav/style.module.css index 34e6a4a4d..e9494fb4c 100644 --- a/packages/subnav/style.module.css +++ b/packages/subnav/style.module.css @@ -7,6 +7,7 @@ background: var(--background-color); /* from theme.module.css */ border-top: 1px solid var(--border-color); /* from theme.module.css */ border-bottom: 1px solid transparent; + overflow: hidden; transition: border-bottom-color 0.8s; &.isSticky {