Closed
Bug 833140
Opened 11 years ago
Closed 11 years ago
[Settings] Text overlap between device name and switch icon on BT menu
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(b2g18+)
RESOLVED
FIXED
1.1 QE2 (6jun)
Tracking | Status | |
---|---|---|
b2g18 | + | --- |
People
(Reporter: leo.bugzilla.gaia, Unassigned)
References
Details
(Whiteboard: [TD-23548])
Attachments
(3 files, 1 obsolete file)
1. Title : Text overlap between device name and switch icon on BT menu 2. Precondition : setting - bluetooth - rename my device 3. Tester's Action : input long text 4. Detailed Symptom (ENG.) : text overlap with switch icon 6. Expected : 7. Reproducibility: Y 1)Frequency Rate : 100% 8. Gaia revision : a03f7b532e9998e646d55f93a0fc03a04d7ca7d9
Github URL https://github.com/mozilla-b2g/gaia/pull/8114 https://github.com/leob2g/gaia/commit/506a32ab87eb59917b3748a737e7c4e2995d42ef
Comment 2•11 years ago
|
||
Hardcoded the length of the name is not a good idea since the length depends on style and screen resolutions. The style for list items should have handled text overflow. I noted that it works after the device gets paired. We should find the root instead of trimming the device name.
Attachment #746766 -
Flags: review?(ehung)
Comment 4•11 years ago
|
||
Simply inherits the overflow settings from ul.
(In reply to Arthur Chen [:arthurcc] from comment #4) > Created attachment 746882 [details] > Patch v1 > > Simply inherits the overflow settings from ul. It's just a patch for device list overlap. This issue aleady raised on Bug 861768. In my patch, I modifed the subline overlap of my devince name. I attached the screenshot. plz check again.
Comment 7•11 years ago
|
||
Comment on attachment 746766 [details]
patch
redirect to Arthur. Thanks!
Attachment #746766 -
Flags: review?(ehung) → review?(arthur.chen)
Comment 8•11 years ago
|
||
Comment on attachment 746766 [details]
patch
Hyuna, thank you for the screenshot! I misunderstood the issue. Regarding your patch, please check my comment in github.
Attachment #746766 -
Flags: review?(arthur.chen)
Comment 9•11 years ago
|
||
Pavel, could you give some input here? I would like to make sure we won't mess up anything when trying to modify |right| value in |ul li > label:not([for]) + small|. Thanks!
Flags: needinfo?(pivanov)
Comment 10•11 years ago
|
||
Hi, I think we just need to increase the |right: 6rem| to |right: 9rem| here: https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/style/lists.css#L94 and also we nee to do the sam think but for the left [RTL] here: https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/style/lists.css#L447 Hoper this one helps :)
Flags: needinfo?(pivanov)
Comment 11•11 years ago
|
||
Thanks Pavel! Hyuna, could you update the patch based on Pavel's comment? Thanks!
Reporter | ||
Comment 12•11 years ago
|
||
plz check updated patch_v2
Attachment #746766 -
Attachment is obsolete: true
Attachment #748619 -
Flags: review?(arthur.chen)
Comment 13•11 years ago
|
||
Comment on attachment 748619 [details]
patch_v2
Thanks for the patch. r=me
Attachment #748619 -
Flags: review?(arthur.chen) → review+
Comment 14•11 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/7cf075f1b3fb9ccd00bc2f305b7ba1381ab7f012
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 15•11 years ago
|
||
(In reply to Arthur Chen [:arthurcc] from comment #14) > master: > https://github.com/mozilla-b2g/gaia/commit/ > 7cf075f1b3fb9ccd00bc2f305b7ba1381ab7f012 Plz land the patch into v1-train
blocking-b2g: --- → leo?
Comment 16•11 years ago
|
||
Triage -Not a blocker considering quite a long name is required for this bug to show.
blocking-b2g: leo? → ---
tracking-b2g18:
--- → +
Updated•11 years ago
|
Whiteboard: [TD-23548]
Target Milestone: --- → 1.1 QE2
You need to log in
before you can comment on or make changes to this bug.
Description
•