Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,9 @@ const webViewStyles = (theme: ThemeColors) =>

pre: {
...baseCodeTagStyles(theme),
paddingTop: 12,
paddingBottom: 12,
paddingRight: 8,
paddingLeft: 8,
paddingVertical: 8,
paddingHorizontal: 12,
fontSize: 13,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Krishna2323 Can we define the numeral in variable and use it as fontSize. If you check other fontSize in the file, we are using variable instead of a numeral.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sobitneupane, I think 13 isn't a number that we want to add in variables , we are using it as numeral in multiple places.

fontSize: 13,

fontSize: 13,

fontSize: 13,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NAB: But I would have preferred it as a variable.

fontFamily: FontUtils.fontFamily.platform.MONOSPACE,
marginTop: 0,
marginBottom: 0,
Expand Down