There are only so many things you can do with a trap. You can shorten the length of the drawer, but the sink's tailpiece should drop straight down into the trap. This will leave you with almost no drawer.
This is why vanities should not have drawers under the sink. Ikea has a lot of ideas that don't work well in practice.