#tauri window: frontend css height: 100% takes 55pixels less than the actual window's height size

29 messages · Page 1 of 1 (latest)

heady frigate
#

tauri window: frontend css height: 100% takes 160pixels less than the actual window's height size

#

tauri window: frontend css height: 100% takes 55pixels less than the actual window's height size

whole nacelle
#

have you tried h-screen (100vh)?

#

@heady frigate

heady frigate
#

ye

#

then the window height becomes 2x the normal size with scrollbar

#

bcs of dis issue i cannot flex grow and position that text to bottom 😦

#

this is what happens when i do h-screen

#

i checked my complete html for diclosed tags and issues but i didnt really make a mistake

#

thats rlly not invalid

shadow crown
heady frigate
#

no

#

h-full takes upto 565pixels but the main window itself is 620 so it doesnt fully utilize

#

h-full is height: 100%; in css so it shouldve been 620 pixels

heady frigate
#

@fallen stratus hey might you look into this, its the last part of my app i hope to release it tommorow

heady frigate
# heady frigate thats rlly not invalid

but whats strange is, is that the background appllied on body takes the full window so it means element body has maximum pixels in height and width so idk why the css i wrote did not work

heady frigate
#

this screenshot explains all

fallen stratus
#

i cloned your app and after adding height: 100% to both the html and body elements it worked 🤷

shadow crown
#

I think you are just struggling with html/css, because in my case it works as expected

heady frigate
#

thnx

#

thnx guys!