2025年8月29日星期五

[Fixed] some windows chrome, scrolling has glitch position not accurate

  

[Fixed] some windows chrome, scrolling has glitch position not accurate

Smooth Scrolling Flag 📜

Chrome has an experimental "smooth scrolling" feature that can sometimes conflict with your system's settings, leading to jerky or inaccurate scrolling. Disabling it can often fix the issue.

  • Type chrome://flags into the Chrome address bar and hit Enter.

  • In the search bar at the top, type "Smooth scrolling."

  • From the dropdown menu for the "Smooth scrolling" flag, select Disabled.

  • Click Relaunch at the bottom of the page.

2023年8月20日星期日

2023年3月12日星期日

laravel 500 Server Error,完美解决

 在laravel下找到 .env.example,将其复制一份重命名为 ".env"

在laravel下执行命令:php artisan key:generate,后刷新页面

php artisan: "failed to open stream: No such file or directory"

 15

You have done everything correctly except you forget to add the vendor folder into your project directory, just try

 composer i 

Inside the project directory from the terminal, will solve your error. And if you get any other error then remove the composer.lock file and then try again.

UPDATE:

Instead of deleting the composer.lock file when facing issues like PHP version mismatch or dependency version locked just use

composer update

2022年8月2日星期二

bootstrap module css in react

 rename 'bootstrap.min.css' to 'bootstrap.min.module.css'


import bs from 'bootstrap/dist/css/bootstrap.min.module.css';
import React from 'react'

export function NavBar() {
return (
<div>
<br/><br/><br/>
<button type="button" className={`${bs['btn']} ${bs['btn-primary']} ${bs['position-relative']}`}>
Inbox
<span className={`
${bs['position-absolute']}
${bs['top-0']}
${bs['start-100']}
${bs['translate-middle']}
${bs['badge']}
${bs['rounded-pill']}
${bs['bg-danger']}
`}>
99+
<span className={ `${bs['visually-hidden']}` }>unread messages</span>
</span>
</button>
</div>
)
}

[Fixed] some windows chrome, scrolling has glitch position not accurate

   [Fixed] some windows chrome, scrolling has glitch position not accurate Smooth Scrolling Flag 📜 Chrome has an experimental "smooth ...