-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show MultipleInput icons in Edit-Mode #409
Conversation
Codecov Report
@@ Coverage Diff @@
## master #409 +/- ##
========================================
Coverage 0.00% 0.00%
Complexity 193 193
========================================
Files 17 17
Lines 1059 1059
========================================
Misses 1059 1059 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow! Really great, makes it sooooooo much more obvious, great work!
There’s a tiny 1px vertical shift of the answers, and also a slight size change of the radio buttons and checkboxes, but we can also look at that afterwards. :)
You're working on firefox, no? Thats why i wrote that part above: 😉
|
Argh. On very large size i found it on edge now, too. |
No worries, I’ll look into this. :) Should be something which is fixable with some slight padding-top for example. |
7514952
to
4b18f4f
Compare
I tried some things for fixes but even after In any case, there seem to be a lot of unrelated changes which could create the layout issues, also different issues in different browsers. I would recommend we pick only the absolutely necessary parts from this pull request first, to pin down exactly where the issue occurs? |
e007203
to
6cee46d
Compare
Ok, so. This version is now working no MS Edge, as well as Opera on 100% Window-Size. Increasing this Window-zoom, it breaks. On Firefox, it still changes. To be honest - i'm done with this now. Took me already two nights. @jancborchardt if you're motivated, just keep on trying. The commit-history now has the first commit that implements the basic functionality, then i documented each small step i changed on css. |
@skjnldsv could you check this? :) |
:D ok. Just thought about these days, it is some kind of rounding-issue. Now found a solution, that works at least on 100%-view on firefox and edge. Still a strange and unstable thing... |
Please add lots of comments for the css then :p |
c1539a5
to
9d05393
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good now and code comments look proper :)
@jotoeri could you check out the conflicts arisen from the other merges? :) Thanks! |
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
9d05393
to
612f75e
Compare
Quite some css fun, as from server-side the visible input-items are just dummy-css fields, while the real input is hidden. Therefore i now included some dummy-div and just copied the server-style to show the same elements.
As i had to adjust a few things on the input-fields for alignment, i had to adjust that on all question-types and recognized, that the
.question__input[type="text"]
was located in three places. To have it in one place, i shifted it to the question-element, but unfortunately now needed there an unscoped css. But as we use the BEM-Model on this, it should be ok, i think.Unfortunately on Firefox, the line-height still changes a bit between showing & editing a question, as firefox overrides the line-height with some own style. That seems a bit like a firefox-bug to me. :/ On Edge it works perfectly.
Solves
And therefore also finishes this one? @jancborchardt