Commit 250ef4d9 by W.H Committed by GitHub

fix: resizer.svg load error (#4996)

parent a848c2e3
...@@ -9,6 +9,7 @@ import { ...@@ -9,6 +9,7 @@ import {
radioAnatomy radioAnatomy
} from '@chakra-ui/anatomy'; } from '@chakra-ui/anatomy';
import { createMultiStyleConfigHelpers, defineStyle } from '@chakra-ui/styled-system'; import { createMultiStyleConfigHelpers, defineStyle } from '@chakra-ui/styled-system';
import { getWebReqUrl } from './../common/system/utils';
const { definePartsStyle: modalPart, defineMultiStyleConfig: modalMultiStyle } = const { definePartsStyle: modalPart, defineMultiStyleConfig: modalMultiStyle } =
createMultiStyleConfigHelpers(modalAnatomy.keys); createMultiStyleConfigHelpers(modalAnatomy.keys);
...@@ -426,7 +427,7 @@ const Textarea: ComponentStyleConfig = { ...@@ -426,7 +427,7 @@ const Textarea: ComponentStyleConfig = {
bg: 'white' bg: 'white'
}, },
'&::-webkit-resizer': { '&::-webkit-resizer': {
background: "url('/icon/resizer.svg') no-repeat", background: `url(${getWebReqUrl('/icon/resizer.svg')}) no-repeat`,
backgroundSize: '11px', backgroundSize: '11px',
backgroundPosition: 'right bottom', backgroundPosition: 'right bottom',
backgroundPositionX: 'right 12px', backgroundPositionX: 'right 12px',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment