Skip to content

Commit 641f20a

Browse files
Scroll behavior (#5182)
* Make HTML scroll behavior smooth. To make the site more professional, I add smoothness to the HTML scroll behavior * Make HTML scroll behavior smooth. To make the site more professional, I add smoothness to the HTML scroll behavior * Make HTML scroll behavior smooth To make the site more professional, I add smoothness to the HTML scroll behavior * Make HTML scroll behavior smooth To make the site more professional, I add smoothness to the HTML scroll behavior * Make HTML scroll behavior smooth To make the site more professional, I add smoothness to the HTML scroll behavior * Update beta/src/styles/algolia.css Co-authored-by: Strek <ssharishkumar@gmail.com> * Update src/css/algolia.css Co-authored-by: Strek <ssharishkumar@gmail.com> * Update beta/src/styles/sandpack.css Co-authored-by: Strek <ssharishkumar@gmail.com> Co-authored-by: Strek <ssharishkumar@gmail.com>
1 parent 8fe817e commit 641f20a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

beta/src/styles/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
/* Write your own custom base styles here */
4646
html {
4747
color-scheme: light;
48-
4948
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
5049
-webkit-tap-highlight-color: transparent;
50+
scroll-behavior: smooth;
5151
}
5252

5353
html.dark {

src/css/reset.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ html {
1212
font-style: normal;
1313
-webkit-font-smoothing: antialiased;
1414
-moz-osx-font-smoothing: grayscale;
15+
scroll-behavior: smooth;
1516
}
1617

1718
body {

0 commit comments

Comments
 (0)