mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 20:24:27 -04:00
Format front
This commit is contained in:
parent
e1d0d2c186
commit
bc66d35497
@ -2,7 +2,9 @@
|
|||||||
"name": "web",
|
"name": "web",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"sideEffects": ["./src/polyfill.ts"],
|
"sideEffects": [
|
||||||
|
"./src/polyfill.ts"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
|
@ -292,7 +292,7 @@ export const BlurhashContainer = ({
|
|||||||
|
|
||||||
useLayoutEffect(() => {
|
useLayoutEffect(() => {
|
||||||
// If the html is empty, it was not SSRed.
|
// If the html is empty, it was not SSRed.
|
||||||
if (ref.current?.innerHTML === '') setRenderType("client");
|
if (ref.current?.innerHTML === "") setRenderType("client");
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -64,7 +64,12 @@ export const Input = forwardRef<
|
|||||||
onFocus={() => setFocused(true)}
|
onFocus={() => setFocused(true)}
|
||||||
onBlur={() => setFocused(false)}
|
onBlur={() => setFocused(false)}
|
||||||
{...css(
|
{...css(
|
||||||
{ flexGrow: 1, color: (theme: Theme) => theme.colors.white, borderWidth: 0, ...focusReset },
|
{
|
||||||
|
flexGrow: 1,
|
||||||
|
color: (theme: Theme) => theme.colors.white,
|
||||||
|
borderWidth: 0,
|
||||||
|
...focusReset,
|
||||||
|
},
|
||||||
props,
|
props,
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user