diff --git a/shared/src/commonMain/composeResources/files/reader/main.js b/shared/src/commonMain/composeResources/files/reader/main.js index 57f28218c..fba254758 100644 --- a/shared/src/commonMain/composeResources/files/reader/main.js +++ b/shared/src/commonMain/composeResources/files/reader/main.js @@ -63,8 +63,11 @@ function updateStyles(colors) { const styles = ` body { padding-top: 16px; + padding-left: 16px; + padding-right: 16px; color: ${colors.textColor}; font-family: 'Golos Text', sans-serif; + overflow-wrap: break-word; } a { color: ${colors.linkColor}; diff --git a/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/reader/ui/ReaderScreen.kt b/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/reader/ui/ReaderScreen.kt index 9261f836e..41dcc20de 100644 --- a/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/reader/ui/ReaderScreen.kt +++ b/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/reader/ui/ReaderScreen.kt @@ -272,7 +272,7 @@ internal fun ReaderScreen( } } - Box(Modifier.fillMaxSize().padding(paddingValues).padding(horizontal = 16.dp)) { + Box(Modifier.fillMaxSize().padding(paddingValues)) { WebView( modifier = Modifier.fillMaxSize(), state = webViewState,