Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

Commit

Permalink
fix(timeline): prevent spotlight items from wrapping #1496
Browse files Browse the repository at this point in the history
  • Loading branch information
dmose committed Oct 18, 2016
1 parent 10e920f commit 6f6a20f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion content-src/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,14 @@ $spotlight-description-height: 34px;
$spotlight-title-max-height: 36px;
$spotlight-title-margin-bottom: 2px;

$timeline-max-width: 3 * $spotlight-item-width + 20px * 2;
// Nasty hack to patch changes from the new highlight view
// https://github.com/mozilla/activity-stream/issues/1190
// that regressed the timeline layout. This keeps the timeline box big enough
// to prevent the spotlight items from wrapping now that the .spotlight-list
// box has flex-wrap set to "wrap".
$timeline-updated-highlights-fudge-factor: 8px;

$timeline-max-width: 3 * $spotlight-item-width + 20px * 2 + $timeline-updated-highlights-fudge-factor;

$site-icon-border-radius: 3px;

Expand Down

0 comments on commit 6f6a20f

Please sign in to comment.