-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tablet card aspect ratio and description limit formatting
- Loading branch information
1 parent
8c33763
commit b3c76f4
Showing
12 changed files
with
58 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,36 @@ | ||
class Constants { | ||
static const int charLimitCardDesc = 180; | ||
|
||
static const double halfScreenWidth = 700.0; | ||
static const double globalPadding = 8.0; | ||
|
||
// Desktop only About | ||
static const double aboutDesktopTopPadding = 120.0; | ||
static const double aboutDesktopBottomPadding = 120.0; | ||
static const double aboutDesktopLeftPadding = 0.0; | ||
static const double aboutDesktopRightPadding = 80.0; | ||
|
||
// Tablet only | ||
// Tablet only About | ||
static const double aboutTabletTopPadding = 20.0; | ||
static const double aboutTabletBottomPadding = 0.0; | ||
static const double aboutTabletLeftPadding = 20.0; | ||
static const double aboutTabletRightPadding = 20.0; | ||
|
||
// Icon sizes | ||
static const double faIconSizeRegular = 20.0; | ||
static const double faIconSizeCard = 12.0; | ||
static const double faIconSizeCardHeader = 16.0; | ||
|
||
// Desktop Card | ||
static const double cardHeight = 180.0; | ||
static const double cardAspectRatio = 3.3; | ||
static const double cardAspectRatioDesktop = 3.3; | ||
static const double cardPaddingVert = 20; | ||
static const double cardPaddingHori = 30; | ||
static const double cardIconSplash = 25; | ||
static const double cardMargin = 4; | ||
|
||
// Tablet only | ||
// Tablet Card | ||
static const double cardAspectRatioTablet = 2.2; | ||
static const double cardSpacing = 10; | ||
static const double cardTitleSpacing = 15; | ||
} |