OpenSource-Tools / LiquidVoting

1 stars 0 forks source link

Layout change #65

Open kvdmolen opened 9 years ago

kvdmolen commented 9 years ago

Hope this is doable: for mobile version I'd really be helped if two major div-elements switched.

from

<div class="content">
  <div class="sidebar">..</div>
  <div class="main_outer">..</div>
</div>

to

<div class="content">
  <div class="main_outer">..</div>
  <div class="sidebar">..</div>
</div>

You mentioned earlier this could become difficult, please have a look and let me know! (doing what i intend with css is pretty impossible..)

nktc commented 9 years ago

I think this can be done. You want it done only for mobile or globally?

How to detect mobile?

kvdmolen commented 9 years ago

For desktop this change will have no effect (due to float's)

For mobile, I figured I want the sidebar to be below the issue. All can be done with css (detect screen-size).

But please hold, I figured out another way perhaps (collapse/expand). I'll let you know!