Closed
Bug 787548
Opened 13 years ago
Closed 13 years ago
[redesign] Topics and Product "cards" height issue
Categories
(support.mozilla.org :: Knowledge Base Software, task, P1)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
RESOLVED
FIXED
2012Q3
People
(Reporter: rrosario, Assigned: rrosario)
References
Details
(Whiteboard: u=user c=wiki p=1)
Attachments
(1 file)
|
464.24 KB,
image/png
|
Details |
The mockups have nice short text for topics and product descriptions. Our real world data isn't as tight. See attachements. What to do?
Bram, assigning to you for guidance.
1pter as this is some basic css/less.
Comment 1•13 years ago
|
||
For the product cards:
#product-cards .logo-sprite {
margin: 8px 15px 8px 0px /* reduce margin-right by 5px */
}
#product-cards .title {
margin: 0px 0px 12px 99px /* reduce margin-left by 5px */
letter-spacing: -1px /* give it a -1 letter spacing */
}
Under this setup, if a product has two-line title, it can have two lines of description. If a product has one-line title, it can have three lines of descriptions.
For the topics cards:
.card-grid > li > a {
padding: 20px 15px; /* reduce padding-left and padding-right by 5px. */
}
#help-topics .card-grid > li > a .title, #help-topics .card-grid > li > a:visited .title {
margin-left: 81px; /* reduce margin-left by 5px */
}
.grid_9 #help-topics .card-grid > li > a .title, .grid_9 #help-topics .card-grid > li > a:visited .title {
line-height: 1.25; /* reduce line-height down from 1.5 */
font-family: 'OpenSans'; /* thicken font to Open Sans Regular */
}
These solved the spacing issues for me.
| Assignee | ||
Comment 3•13 years ago
|
||
That worked! Just landed in prod:
https://github.com/mozilla/kitsune/commit/5c5990a3b5a9fa23b16d6e5d1c1cba002733adff
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•