[scopes toolkit] Cards force background when summary is added

Bug #1330939 reported by Victor Tuson Palau
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Savilerow project
Medium
Unassigned
Ubuntu UX
Medium
Alex Milazzo
unity8 (Ubuntu)
Undecided
Unassigned

Bug Description

Using:
{
        "schema-version" : 1,
        "template" : {
        "category-layout" : "grid",
        "card-size": "large",
        "overlay": false
        },
        "components" : {
        "title" : "category",
        "summary":"summary",
        "art" : {
        "field": "art2",
        "aspect-ratio": 1.4,
        "fill-mode": "fit"
        }
        }
        }

A white frame appears around the card. If the summary is remove, the white frame goes away. Checked with John Lea and this is not as intended by design

----------
Solution

Default background should be transparent

Revision history for this message
Victor Tuson Palau (vtuson) wrote :
Revision history for this message
Victor Tuson Palau (vtuson) wrote :

frame gone when you remove the "summary" field.

Revision history for this message
Michał Sawicz (saviq) wrote :

That's by design. There's a card background added when you have a summary so that the whole card is kept together.

The things that're wrong in this image is that the art should not be shaped, but that's a limitation we have to live with for now, and the lack of left margin for the title (bug).

Changed in unity8:
status: New → Incomplete
summary: - Grid card adds a white frame when summary is added
+ Cards force background when summary is added
Revision history for this message
Michał Sawicz (saviq) wrote : Re: Cards force background when summary is added

Sprouted bugs: #1330957 #1330959.

Revision history for this message
Michał Sawicz (saviq) wrote :
Mike Nagle (mikenagle)
description: updated
Changed in ubuntu-ux:
status: New → Fix Committed
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
status: New → Incomplete
summary: - Cards force background when summary is added
+ [sdk] Cards force background when summary is added
Changed in ubuntu-ux:
assignee: nobody → Giorgio Venturi (giorgio-venturi)
status: Fix Committed → New
John Lea (johnlea)
Changed in ubuntu-ux:
importance: Undecided → Medium
status: New → Triaged
Michał Sawicz (saviq)
no longer affects: unity8
Changed in ubuntu-ux:
assignee: Giorgio Venturi (giorgio-venturi) → Olga Kemmet (olga-kemmet)
Changed in savilerow:
status: New → Triaged
tags: added: tracking
Changed in savilerow:
importance: Undecided → Medium
Changed in ubuntu-ux:
assignee: Olga Kemmet (olga-kemmet) → Alex Milazzo (digitalalex)
Changed in ubuntu-ux:
assignee: Alex Milazzo (digitalalex) → nobody
assignee: nobody → Alex Milazzo (digitalalex)
summary: - [sdk] Cards force background when summary is added
+ [scopes toolkit] Cards force background when summary is added
Revision history for this message
Alex Milazzo (digitalalex) wrote :

There is already a desired solution in the description. Not ideal but for now is ok. This is part of a bigger redesign project (Scopes toolkit) and it can't be fixed as a single bug.

Changed in ubuntu-ux:
status: Triaged → Fix Committed
Changed in unity8 (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers