graaf icon indicating copy to clipboard operation
graaf copied to clipboard

Responsive API

Open janstieler opened this issue 8 years ago • 3 comments

Hi, is it possible to use a responsive girdoverlay with the API?

Cheers

janstieler avatar Mar 24 '18 22:03 janstieler

Hello @janstieler,

I'll try to revisit this. I tried to implement the responsive grid but I found some issues due to the background-position calculation: https://codepen.io/angelmm/pen/LxyoeM. In the codepen, the red bar should be the same as the gray column behind it.

Angelmmiguel avatar Mar 26 '18 10:03 Angelmmiguel

Hi, oaky thats an impression calculation :). I don't know if calc gets problems with this nested calculations. I used it only for simple arithmetik before. Actually I have no idea how I can help you.

janstieler avatar Mar 27 '18 13:03 janstieler

oaky thats an impression calculation :).

All the calculations are done using a mixin ;) https://github.com/Angelmmiguel/graaf/blob/master/graaf.scss#L4. I need to review the approach I followed for the responsive API. If it doesn't work, I'll need to think on solution that not use calc to make it works.

Actually I have no idea how I can help you.

No problem! It would be really nice if you can test it once it's available :D

Angelmmiguel avatar Apr 02 '18 08:04 Angelmmiguel