Skip to content

Commit

Permalink
fix(ToC): fix mobile styles (#4636)
Browse files Browse the repository at this point in the history
### Related Ticket(s)

#2545 

### Description

This fixes an issue where the section navigation dropdown is incorrectly positioned, allowing contents of the page to be seen behind it when scrolling.

### Changelog

**Changed**

- top positioning of section navigation dropdown

**Removed**

- {{removed thing}}

<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "package: styles": Carbon Expressive -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
  • Loading branch information
kennylam authored Dec 7, 2020
1 parent b5ea995 commit 9105895
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
padding-top: $carbon--layout-04;

.#{$prefix}--tableofcontents__sidebar {
top: 49px;
top: 48px;
}
}

Expand Down

0 comments on commit 9105895

Please sign in to comment.