ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: Jorin on May 01, 2015, 10:24:54 am

Poll
Question: Are options cut?
Option 1: I don't know yet, but I will test as soon as I have a poll handy. votes: 2
Option 2: Maybe, or maybe not, I'll check later on when I get some time to vote. votes: 0
Title: [1.0.3] What happened with my poll options?
Post by: Jorin on May 01, 2015, 10:24:54 am
It seems the options in mobile view are cut. See screenshot please.

ETA by emanuele: added a poll. :P
Title: Re: [1.0.3] What happened with my poll options?
Post by: emanuele on May 01, 2015, 10:49:28 am
Indeed there is a position:relative misplaced.
If you have a moment you can try the following change to index.css:
Code: (find) [Select]
#poll_options .results {
 display: inline;
}
Code: (replace with) [Select]
#poll_options .results {
 position: relative;
}
This should fix it.
ETA: note for whoever will apply the patch, the position:relative on the bar can be removed.

In the meantime, you may want to remove this block as well:
Code: [Select]
.statsbar .bar {
 max-width: 12em;
 }
that is useless and makes the bar shorter than it should be.
Title: Re: [1.0.3] What happened with my poll options?
Post by: emanuele on May 01, 2015, 02:39:01 pm
Tracked: https://github.com/elkarte/Elkarte/issues/2054