mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-05-11 12:30:46 +00:00
Adjust padding and margin values in LibraryScreen and CatalogSection
make the uniform gap between the posters to look symmetric.
This commit is contained in:
parent
175d6a173e
commit
67d53cf5ce
1 changed files with 3 additions and 3 deletions
|
|
@ -75,7 +75,7 @@ interface TraktFolder {
|
||||||
const ANDROID_STATUSBAR_HEIGHT = StatusBar.currentHeight || 0;
|
const ANDROID_STATUSBAR_HEIGHT = StatusBar.currentHeight || 0;
|
||||||
|
|
||||||
function getGridLayout(screenWidth: number): { numColumns: number; itemWidth: number } {
|
function getGridLayout(screenWidth: number): { numColumns: number; itemWidth: number } {
|
||||||
const horizontalPadding = 16;
|
const horizontalPadding = 26;
|
||||||
const gutter = 12;
|
const gutter = 12;
|
||||||
let numColumns = 3;
|
let numColumns = 3;
|
||||||
if (screenWidth >= 1200) numColumns = 5;
|
if (screenWidth >= 1200) numColumns = 5;
|
||||||
|
|
@ -1042,7 +1042,7 @@ const styles = StyleSheet.create({
|
||||||
fontWeight: '500',
|
fontWeight: '500',
|
||||||
},
|
},
|
||||||
listContainer: {
|
listContainer: {
|
||||||
paddingHorizontal: 8,
|
paddingLeft: 12,
|
||||||
paddingVertical: 16,
|
paddingVertical: 16,
|
||||||
paddingBottom: 90,
|
paddingBottom: 90,
|
||||||
},
|
},
|
||||||
|
|
@ -1058,7 +1058,7 @@ const styles = StyleSheet.create({
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-between',
|
||||||
},
|
},
|
||||||
itemContainer: {
|
itemContainer: {
|
||||||
marginBottom: 20,
|
marginBottom: 14,
|
||||||
},
|
},
|
||||||
posterContainer: {
|
posterContainer: {
|
||||||
borderRadius: 12,
|
borderRadius: 12,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue