Ideally, your bedside table should sit 5-10 cm below the top of your mattress....
https://amumreviews.co.uk/should-bedside-tables-be-higher-than-the-bed/
Ideally, your bedside table should sit 5-10 cm below the top of your mattress. This makes reaching for a glass of water or your phone feel effortless without awkward stretching