Closed
Bug 909770
Opened 12 years ago
Closed 12 years ago
Make Fixed text plugin positions occupying entire container
Categories
(Webmaker Graveyard :: Popcorn Maker, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mjschranz, Assigned: thecount)
Details
(Whiteboard: popbetter)
Attachments
(1 file)
It's minor, but to make fixed positions work well ideally they shouldn't occupy the entire container.
The correct solution will most likely involve some JS trickery to mimic the current work being done entirely with CSS.
| Assignee | ||
Comment 1•12 years ago
|
||
Yeah, I'm thinking this too.
We should just make fixed positions be pre set custom positions.
| Assignee | ||
Comment 2•12 years ago
|
||
Ended up being easier than I thought.
If I knew it was as easy as it was, I would of requested it be done in bug 905634 as it pretty much refactors the way we handle fixed positions, and thus no longer needs the changes in bug 905634.
I did have to change 20px padding into a percentage, which, is never going to work. 20px padding is a broken number, as it'll never be the same if medai queries resize everything.
I picked 3% as it closest resembles the previous 20px in a common screen size, my screen size :P
Attachment #796132 -
Flags: review?(schranz.m)
| Assignee | ||
Updated•12 years ago
|
Whiteboard: popbetter
| Reporter | ||
Updated•12 years ago
|
Attachment #796132 -
Flags: review?(schranz.m) → review+
| Assignee | ||
Comment 3•12 years ago
|
||
Comment on attachment 796132 [details] [review]
https://github.com/mozilla/popcorn.webmaker.org/pull/182
Found a bug while stagging :D
If you set position to fixed, and try to drag it, it goes into a weird resize state.
It is caused because my fixed position used right, instead of width, which causes jquery ui drag n drop to have fits.
Attachment #796132 -
Flags: review+ → review?(schranz.m)
| Reporter | ||
Comment 4•12 years ago
|
||
Comment on attachment 796132 [details] [review]
https://github.com/mozilla/popcorn.webmaker.org/pull/182
Questions.
Attachment #796132 -
Flags: review?(schranz.m) → review-
| Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 796132 [details] [review]
https://github.com/mozilla/popcorn.webmaker.org/pull/182
Fixed one, answered the other. Let me know if the answer is enough.
Attachment #796132 -
Flags: review- → review?(schranz.m)
| Reporter | ||
Updated•12 years ago
|
Attachment #796132 -
Flags: review?(schranz.m) → review+
| Assignee | ||
Comment 6•12 years ago
|
||
Staged: https://github.com/mozilla/popcorn.webmaker.org/commit/5c6ec6a5dda9ccc9dad7e972116abeb67a4b3eb6
Needs verification.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: needinfo?(scott)
Resolution: --- → FIXED
Updated•12 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in
before you can comment on or make changes to this bug.
Description
•