Skip to content

Commit 5322ef9

Browse files
committed
Replace with new sticky/scroll attributes
1 parent 46d8462 commit 5322ef9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/src/nav.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ export const SideNav = ({ nav }) => {
5656
<div
5757
className="uk-panel uk-panel-box"
5858
style={{ marginBottom: "1em" }}
59-
data-uk-sticky="{top:35}"
59+
uk-sticky="{top:35}"
6060
>
6161
<ul
6262
className="uk-nav uk-nav-default"
63-
data-uk-scrollspy-nav="{closest:'li', smoothscroll:true}"
63+
uk-scrollspy-nav="{closest:'li', smoothscroll:true}"
6464
>
6565
<li className="uk-nav-header">{activeItem.text}</li>
6666
<li className="uk-nav-divider" />

0 commit comments

Comments
 (0)