change SizeSelector size
This commit is contained in:
parent
c81fc0ecfc
commit
8ae3d8a42c
@ -659,7 +659,7 @@ export default function Editor(props: EditorProps) {
|
|||||||
className="absolute bg-black backdrop-blur backdrop-filter bg-opacity-10 rounded-xl"
|
className="absolute bg-black backdrop-blur backdrop-filter bg-opacity-10 rounded-xl"
|
||||||
style={{
|
style={{
|
||||||
height: '58px',
|
height: '58px',
|
||||||
width: '700px',
|
width: '600px',
|
||||||
zIndex: -1,
|
zIndex: -1,
|
||||||
marginLeft: '-1px',
|
marginLeft: '-1px',
|
||||||
}}
|
}}
|
||||||
|
@ -16,7 +16,7 @@ export default function SizeSelector(props: SizeSelectorProps) {
|
|||||||
|
|
||||||
const getSizeShowName = (size: string) => {
|
const getSizeShowName = (size: string) => {
|
||||||
if (size === 'Original') {
|
if (size === 'Original') {
|
||||||
return `${originalWidth}x${originalHeight}(${size})`
|
return `${originalWidth}x${originalHeight}`
|
||||||
}
|
}
|
||||||
const length: number = parseInt(size, 10)
|
const length: number = parseInt(size, 10)
|
||||||
const longSide: number =
|
const longSide: number =
|
||||||
@ -36,7 +36,7 @@ export default function SizeSelector(props: SizeSelectorProps) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="w-52">
|
<div className="w-32">
|
||||||
<Listbox value={value} onChange={onChange}>
|
<Listbox value={value} onChange={onChange}>
|
||||||
<div className="relative">
|
<div className="relative">
|
||||||
<Listbox.Options
|
<Listbox.Options
|
||||||
|
Loading…
Reference in New Issue
Block a user