Grid scroll issue

UI Components for Vue
Post Reply
hamidk
Posts: 1
Joined: 30 Jan 2021, 08:25

30 Jan 2021, 09:29

problem is that when I use p-grid and set height to 100vh, scrolls appear which is no make sense since I have no content!! even after I use overflow:hidden to hide scroll, there is a space in bottom of my page which I think its reserved space for scroll that is making me crazy and I can't get rid of it.
<template>
<div class="p-grid" dir="rtl" style="min-height: 100vh;">
<div class="p-col-3" style="background-color: #ffffff;">
test
</div>
<div class="p-col" style="background: #3c4b64;"></div>
</div>
</template>
<style>
body {
padding: 0;
margin: 0;
}
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
padding: 0;
margin: 0;
}
</style>

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 17 guests