Closed Bug 1102319 Opened 10 years ago Closed 9 years ago

Keypad solid-colored buttons are bunched up too much

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect)

defect
Not set
normal

Tracking

(b2g-v2.2 verified)

VERIFIED FIXED
2.2 S3 (9jan)
Tracking Status
b2g-v2.2 --- verified

People

(Reporter: drs, Assigned: nefzaoui)

References

Details

(Whiteboard: [planned-sprint c=1])

Attachments

(4 files)

The buttons at the bottom of the keypad for placing a call and creating a contact with the currently-entered number are too bunched up. This is likely a `margin-(left|right)` issue.
Attached image Screenshot
Attached image Screenshot 2
Target Milestone: --- → 2.2 S1 (5dec)
Write a summary of how I think we can fix this.
Assignee: nobody → gtorodelvalle
Flags: needinfo?(drs.bugzilla)
Whiteboard: [planned-sprint c=?] → [planned-sprint c=1]
This looks a bit easier than I thought when I wrote comment 3. I initially believed that this was caused by the issue described in bug 1060293, but after some actual investigation, it doesn't seem to be.

There may be some changes required in addition to the suggestions below.

To fix the issue illustrated in attachment 8526117 [details], we will have to change this [1] `margin-left` to `-moz-margin-start`.

To fix the issue illustrated in attachment 8526118 [details], we will have to change this [2] `margin` to:
```css
margin: 0;
-moz-margin-start: 1rem;
```

Note that for [2], we will have to get a review from peers from the following modules: Contacts, Messages, Building Blocks in addition to Dialer.

[1] https://github.com/mozilla-b2g/gaia/blob/e5d666d6f62480ced56c6d9352f5e12befb5a862/shared/style/dialer/keypad.css#L222
[2] https://github.com/mozilla-b2g/gaia/blob/e5d666d6f62480ced56c6d9352f5e12befb5a862/shared/style/edit_mode.css#L61
Flags: needinfo?(drs.bugzilla)
Hey Doug,
Is someone still working on this? :)
Flags: needinfo?(drs.bugzilla)
(In reply to Ahmed Nefzaoui [:Nefzaoui] from comment #5)
> Hey Doug,
> Is someone still working on this? :)

No, feel free to take it.
Flags: needinfo?(drs.bugzilla)
Comment on attachment 8542473 [details] [review]
[PullReq] anefzaoui:bug-1102319 to mozilla-b2g:master

How does that look? :)
Thanks!
Attachment #8542473 - Flags: review?(drs.bugzilla)
Comment on attachment 8542473 [details] [review]
[PullReq] anefzaoui:bug-1102319 to mozilla-b2g:master

Looks good, thanks!
Attachment #8542473 - Flags: review?(drs.bugzilla) → review+
Assignee: gtorodelvalle → nefzaoui
Keywords: checkin-needed
Target Milestone: 2.2 S1 (5dec) → 2.2 S3 (9jan)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Keywords: verifyme
This issue verified successfully on Flame 2.2
Gaia-Rev        f5b3d1b6cfa3e702033f613915ae637cb735cbfb
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/8067c111ddff
Build-ID        20150118002501
Version         37.0a2
Device-Name     flame
FW-Release      4.4.2
refer to picture 2015-01-19-04-10-51.png
Status: RESOLVED → VERIFIED
Keywords: verifyme
Attached image 2015-01-19-04-10-51.png
Flags: in-moztrap+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: