I think you should get 4 screw-in stump legs, similar to what you would find under a common couch and similar to left leg shown below. But a lower profile so you won't see them.
This could also allow for adjustment, a couple washers should do the trick. It might be easier using foam or cardboard but I don't it will work as well, using legs will also make it more stable.