mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-29 22:07:46 +03:00
renamed center to text-center class
This commit is contained in:
parent
99734719e7
commit
2a170f5dbd
@ -48,7 +48,7 @@ export default EStyleSheet.create({
|
||||
backgroundColor:'$darkIconColor',
|
||||
fontFamily:'$editorFont',
|
||||
} as TextStyle,
|
||||
center: {
|
||||
textCenter: {
|
||||
textAlign: 'center',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
|
@ -34,7 +34,7 @@ const HtmlRenderer = ({
|
||||
}:HtmlRendererProps) => {
|
||||
|
||||
//new renderer functions
|
||||
body = body.replace('<center>', '<div class="center">').replace('</center>','</div>');
|
||||
body = body.replace('<center>', '<div class="text-center">').replace('</center>','</div>');
|
||||
|
||||
const _handleOnLinkPress = (data:LinkData) => {
|
||||
|
||||
@ -181,7 +181,7 @@ const HtmlRenderer = ({
|
||||
classesStyles={{
|
||||
phishy:styles.phishy,
|
||||
'text-justify':styles.textJustify,
|
||||
center:styles.center
|
||||
'text-center':styles.textCenter
|
||||
}}
|
||||
tagsStyles={{
|
||||
body:styles.body,
|
||||
|
Loading…
Reference in New Issue
Block a user