diff --git a/app/components/bot_tag.js b/app/components/bot_tag.js
index 84ad5062a..d4d1c25bd 100644
--- a/app/components/bot_tag.js
+++ b/app/components/bot_tag.js
@@ -3,6 +3,7 @@
import React, {PureComponent} from 'react';
import PropTypes from 'prop-types';
+import {Platform, View} from 'react-native';
import {changeOpacity, makeStyleSheetFromTheme} from 'app/utils/theme';
import FormattedText from 'app/components/formatted_text';
@@ -23,11 +24,13 @@ export default class BotTag extends PureComponent {
const style = createStyleSheet(this.props.theme);
return (
-
+
+
+
);
}
}
@@ -39,12 +42,20 @@ const createStyleSheet = makeStyleSheetFromTheme((theme) => {
backgroundColor: changeOpacity(theme.centerChannelColor, 0.15),
borderRadius: 2,
color: theme.centerChannelColor,
- fontSize: 10,
fontWeight: '600',
- marginRight: 5,
- marginLeft: 5,
+ marginRight: 2,
+ marginBottom: 1,
+ ...Platform.select({
+ android: {
+ marginBottom: 0,
+ },
+ }),
+ marginLeft: 2,
paddingVertical: 2,
paddingHorizontal: 4,
},
+ botText: {
+ fontSize: 10,
+ },
};
});