mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 12:36:57 +00:00
rudimentary display of dynamic data
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
import { StyleSheet } from "@react-pdf/renderer";
|
||||
|
||||
export const styles = StyleSheet.create({
|
||||
page: { flexDirection: "column", padding: 30, fontSize: 10 },
|
||||
header: { marginBottom: 20, textAlign: "center" },
|
||||
title: { fontSize: 18, fontWeight: "bold", marginBottom: 4 },
|
||||
section: { margin: 10, padding: 10, flexGrow: 1 },
|
||||
row: {
|
||||
flexDirection: "row",
|
||||
borderBottomWidth: 1,
|
||||
borderBottomColor: "#000",
|
||||
alignItems: "center",
|
||||
height: 24,
|
||||
},
|
||||
cell: { flex: 1, padding: 2 },
|
||||
cellSmall: {
|
||||
width: 40,
|
||||
padding: 2,
|
||||
borderLeftWidth: 1,
|
||||
borderLeftColor: "#000",
|
||||
},
|
||||
// headerRow: {
|
||||
// flexDirection: "row",
|
||||
// backgroundColor: "#E4E4E4",
|
||||
// borderBottomWidth: 1,
|
||||
// borderBottomColor: "#000",
|
||||
// height: 30,
|
||||
// alignItems: "center",
|
||||
// },
|
||||
boardHeaderRow: {
|
||||
flexDirection: "row",
|
||||
justifyContent: "space-between",
|
||||
},
|
||||
infoTable: {
|
||||
borderWidth: 1,
|
||||
borderColor: "#000",
|
||||
marginTop: 5,
|
||||
marginBottom: 10,
|
||||
},
|
||||
infoRow: {
|
||||
flexDirection: "row",
|
||||
},
|
||||
infoCellHeader: {
|
||||
flex: 1,
|
||||
padding: 5,
|
||||
textAlign: "center",
|
||||
fontWeight: "bold",
|
||||
// backgroundColor: "#E4E4E4",
|
||||
borderRightWidth: 1,
|
||||
borderRightColor: "#000",
|
||||
borderBottomWidth: 1,
|
||||
borderBottomColor: "#000",
|
||||
fontSize: 10,
|
||||
},
|
||||
infoCell: {
|
||||
flex: 1,
|
||||
padding: 5,
|
||||
textAlign: "center",
|
||||
borderRightWidth: 1,
|
||||
borderRightColor: "#000",
|
||||
fontSize: 10,
|
||||
},
|
||||
lastCell: {
|
||||
borderRightWidth: 0,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user