Hi @barbaramsilva ,
Thank you for your reply. To summarize if I understand correctly: you want a part of the app to be visible somewhere on a intranet page (in SharePoint(?)), Only by clicking on it, more of the app should be showed.
Unfortunately, for as far as I know you can not change the size of the app like that.
Perhaps with some CSS magic (I'm no expert on that) it would be possible to conceal a part of the app, and revealing it when clicking on it.
Closest I could think of is two apps. The first, only a searchbar with a 'Search' button, with a very small app size.
The button could lauch a second app, which shows the results of the search (unfortunately this app should open in a new browser tab).
Showing the results in another app would be possible using parameters, to pass the info from the 'search bar app' to the 'results app'.
This article shows how to use parameters to pass information to an app on opening it.
This way you can work with two screen sizes.
I hope this is helpful for you. If so, please click on the Thumbs Up below and Accept it as the solution, so this could be helpful to others with the same problem.
Kind regards, Jan-Pieter