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"
|
||||
style={{
|
||||
height: '58px',
|
||||
width: '700px',
|
||||
width: '600px',
|
||||
zIndex: -1,
|
||||
marginLeft: '-1px',
|
||||
}}
|
||||
|
@ -16,7 +16,7 @@ export default function SizeSelector(props: SizeSelectorProps) {
|
||||
|
||||
const getSizeShowName = (size: string) => {
|
||||
if (size === 'Original') {
|
||||
return `${originalWidth}x${originalHeight}(${size})`
|
||||
return `${originalWidth}x${originalHeight}`
|
||||
}
|
||||
const length: number = parseInt(size, 10)
|
||||
const longSide: number =
|
||||
@ -36,7 +36,7 @@ export default function SizeSelector(props: SizeSelectorProps) {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="w-52">
|
||||
<div className="w-32">
|
||||
<Listbox value={value} onChange={onChange}>
|
||||
<div className="relative">
|
||||
<Listbox.Options
|
||||
|
Loading…
Reference in New Issue
Block a user