Skip to content

Commit

Permalink
refactor(styles): disable immersive tabbar feature and adjust padding
Browse files Browse the repository at this point in the history
- Remove immersive tabbar feature by commenting out in index.scss
- Adjust padding-top for .protyle-content to remove potential scroll issues
  • Loading branch information
mustakshif committed Jan 5, 2025
1 parent fbb691b commit 576b524
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions styles/features/immersive-tabbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ body.asri-immersive-tabbar:not(.asri-disable-backdrop-blur) {
}

:not(#searchPreview)>.protyle-content {
padding-top: var(--blur-block-height); // 可能是导致滚动相关问题的原因
}
padding-top: var(--blur-block-height);

&>.file-tree .protyle-content {
padding-top: 0 !important;
Expand Down
2 changes: 1 addition & 1 deletion styles/features/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@use 'overflow-indicator';
@use 'list-counter-style';
@use 'reading-mode';
@use 'immersive-tabbar';
// @use 'immersive-tabbar';
@use 'rtl';
@use 'selected-block-indicator';
@use 'hide-side-panel-block-icons';
2 changes: 1 addition & 1 deletion theme.css

Large diffs are not rendered by default.

0 comments on commit 576b524

Please sign in to comment.