Skip to content

Commit

Permalink
change default reader mode width to 36em
Browse files Browse the repository at this point in the history
  • Loading branch information
ankit committed Jul 26, 2020
1 parent 5123ae2 commit 4a2740b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/background/readability-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const get = (): Promise<ReadabilitySettings> => {

resolve({
size: 16,
width: 40,
width: 36,
lineHeight: 1.6,
theme: 'light',
font: 'Helvetica',
Expand Down
2 changes: 1 addition & 1 deletion src/editor/store/__mocks__/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const mockState: State = {
readability: false,
readabilitySettings: {
size: 16,
width: 40,
width: 36,
theme: 'light',
font: 'Helvetica',
lineHeight: 1.6,
Expand Down
2 changes: 1 addition & 1 deletion src/editor/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default new Vuex.Store<State>({
shortcuts: new Map(),
readabilitySettings: {
size: 16,
width: 40,
width: 36,
lineHeight: 1.6,
theme: 'light',
font: 'Helvetica',
Expand Down
2 changes: 1 addition & 1 deletion src/readability/components/TheReader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default Vue.extend({
return {
size: 16,
font: '',
width: 40,
width: 36,
theme: 'light',
lineHeight: 1.6,
};
Expand Down

0 comments on commit 4a2740b

Please sign in to comment.