-5

So, I've encountered a bug on a website I'm making, where my sidebar background will not cover the whole height on any device. I've tried giving the elements before it 100% height, and have looked through many similar posts but none of their solutions fixing my issue. The site is at https://minepos.piggypiglet.me, and I can supply the code in a hastebin if requested, but dev tools should suffice?

bug

html: https://hastebin.com/ovitaroxen.xml css: https://hastebin.com/cocuketino.css Sorry for the links, there was too much to include in code blocks.

PiggyPiglet
  • 155
  • 1
  • 15

1 Answers1

0

you can use vh for doing your task.

div {
   height: 100vh /*100% of device height*/
}

This is you can use for responsive designs.

sameera lakshitha
  • 1,925
  • 4
  • 21
  • 29