mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
fix: highlight position issue on ios for navbar and footer
This commit is contained in:
parent
43295bc7b9
commit
110fad06ab
3 changed files with 11 additions and 2 deletions
|
@ -49,6 +49,15 @@ h4:hover .heading-anchor-link {
|
|||
.highlight-hover::after {
|
||||
--at-apply: 'origin-bottom-right scale-x-0 transition-transform duration-300 ease-out';
|
||||
}
|
||||
/* Fix Position Issue on iOS */
|
||||
@supports (-webkit-touch-callout: none) {
|
||||
.navbar-highlight-position-fix {
|
||||
--at-apply: 'after:bottom-0.68em';
|
||||
}
|
||||
.footer-highlight-position-fix {
|
||||
--at-apply: 'after:bottom-0.24em';
|
||||
}
|
||||
}
|
||||
|
||||
/* View Transition with Theme Toggle >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> */
|
||||
::view-transition-new(theme-transition) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue