fix(nav): stop click ripple from stretching CTA chips
.aksrt-wave was injected into .but without position:absolute, so the oversized span expanded header publish/VIP buttons on click. Make the wave absolute, honor .nowave, and skip navbar CTA roots.
This commit is contained in:
1 parent
77150afe38
commit
d3cae1f1cb
3 files changed
+63
-4
No files matched your search
@@ -636,3 +636,24 @@ body.dark-theme .navbar-but-cluster .toggle-theme .theme-icon-sun {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Absolute-size CTA chips: ignore injected .aksrt-wave for layout */
|
||||
.navbar-top a.navbar-cta,
|
||||
.navbar-top a.newadd-btns.navbar-cta,
|
||||
.navbar-top a.navbar-newposts.navbar-cta,
|
||||
.navbar-top a.payvip-icon.navbar-cta,
|
||||
.navbar-top .navbar-but .but,
|
||||
.navbar-top .navbar-form.navbar-but a.but,
|
||||
.navbar-top .navbar-form.navbar-vip a.but {
|
||||
position: relative !important;
|
||||
overflow: hidden !important;
|
||||
flex: 0 0 auto !important;
|
||||
}
|
||||
.navbar-top a.navbar-cta > .aksrt-wave,
|
||||
.navbar-top a.but > .aksrt-wave,
|
||||
.navbar-top .but > .aksrt-wave {
|
||||
position: absolute !important;
|
||||
pointer-events: none !important;
|
||||
margin: 0 !important;
|
||||
flex: none !important;
|
||||
}
|
||||
Reference in new issue
Block a user