Minor Fixes

This commit is contained in:
Rajarshee Chatterjee
2022-08-28 11:37:04 +05:30
parent 75f4f18448
commit ba62c1ba0a
3 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -63,12 +63,12 @@ const TextReader: React.FC<TextReaderProps> = ({
defaultViewProps={{
style: {
backgroundColor: reader.theme,
minHeight: height - 160,
},
}}
baseStyle={{
paddingHorizontal: `${reader.padding}%`,
paddingTop: (StatusBar.currentHeight || 0) + 16,
minHeight: height - 100,
}}
/>
<View style={styles.navigationContainer}>
@@ -290,7 +290,7 @@ const WebViewReader: FunctionComponent<WebViewReaderProps> = props => {
text-align: center;
}
.chapterCtn {
min-height: ${height - 160};
min-height: ${height - 140};
margin-bottom: auto;
}
</style>
@@ -307,8 +307,10 @@ const WebViewReader: FunctionComponent<WebViewReaderProps> = props => {
</style>
</head>
<body>
<div class="chapterCtn">
<chapter ${onClickWebViewPostMessage({ type: 'hide' })}>
<div class="chapterCtn" ${onClickWebViewPostMessage({
type: 'hide',
})}>
<chapter>
${html}
</chapter>
</div>
@@ -76,7 +76,10 @@ const AppearanceSettings = ({ navigation }) => {
handleGoBack={navigation.goBack}
theme={theme}
/>
<ScrollView style={{ flex: 1 }}>
<ScrollView
style={{ flex: 1 }}
contentContainerStyle={{ paddingBottom: 40 }}
>
<List.Section>
<List.SubHeader theme={theme}>App theme</List.SubHeader>
<Text