Adjust button minimum sizing to improve presentation of quick-links, while ensuring adequate touch target. Number of displayed quicklinks reduced from 9 to six, for improved presentation.
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
min-height: 48px;
|
min-height: 48px;
|
||||||
min-width: 98px;
|
min-width: 48px;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
width: fit-content;
|
width: fit-content;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
padding: 0 1.2rem;
|
padding: 0 1.2rem;
|
||||||
min-width: 90px;
|
min-width: 40px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
border: none;
|
border: none;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export interface QuickLink {
|
|||||||
lastAccessed: number;
|
lastAccessed: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
const RETURNED_LENGTH: number = 9;
|
const RETURNED_LENGTH: number = 6;
|
||||||
const MAX_SCORE: number = 50;
|
const MAX_SCORE: number = 50;
|
||||||
const MAX_ENTRIES: number = RETURNED_LENGTH * 4;
|
const MAX_ENTRIES: number = RETURNED_LENGTH * 4;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user