The golden rule for bedside tables is keeping the top surface between 5 and 10...
https://amumreviews.co.uk/should-bedside-tables-be-higher-than-the-bed/
The golden rule for bedside tables is keeping the top surface between 5 and 10 centimetres below your mattress top. This makes reaching for your phone or a glass of water feel natural rather than a stretch