Database Mobile Display

Hello,

I’m building a mental health screening site with quizzes and directory of specialists. Staging site here

I’ve created the search bar that filters the addresses and such, however the design on the mobile doesn’t look good: https://fabienbouhier.wixsite.com/mymentalhealth

Below is the code I used (very beginner level):

import wixData from ‘wix-data’;

//For full API documentation, including code examples visit Velo API Reference - Wix.com

$w.onReady( function () {
//TODO: import wixData from ‘wix-data’;
});

export function searchButton_onClick(event) {
wixData.query(‘Specialist’)
.contains(‘address’, $w(‘#input1’).value)
.find()
.then(res => {
$w(‘#table1’).rows = res.items;
});
}

Thanks for the help.

Cheers,

Fab

Hi Fab,
I couldn’t find the page you were referring. I saw a page with a table, however it’s the Table Master app- which is not related to Wix Code. If you were referring to a different page, please clarify which one. Moreover, please send us a screenshot of the issue so that we can better understand what you were referring.

Thanks,
Tal.