Skip to content

Commit

Permalink
Update habit name width default value
Browse files Browse the repository at this point in the history
  • Loading branch information
daya0576 committed Feb 2, 2025
1 parent 1f84ee9 commit 2f3c859
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ To avoid [permission issues](https://github.com/daya0576/beaverhabits/discussion
| **ENABLE_IOS_STANDALONE**(bool) | Experiential feature to enable standalone mode on iOS. The default setting is `false`. |
| **INDEX_SHOW_HABIT_COUNT**(bool) | To display total completed count along with the habit name on the index page. The default setting is `false`. |
| **INDEX_HABIT_DATE_COLUMNS**(int) | Customize the date columns count for the index page. The default value is `5`. |
| **INDEX_HABIT_NAME_WIDTH**(int) | Customize the habit name width for the index page. The default value is `115`. |
| **INDEX_HABIT_NAME_WIDTH**(int) | Customize the habit name width for the index page. The default value is `118`. |
| **TRUSTED_EMAIL_HEADER**(str) | Delegate authentication to an authenticating reverse proxy that passes in the user's details in HTTP headers, e.g. `Cf-Access-Authenticated-User-Email`. An existing account is required. |
| **TRUSTED_LOCAL_EMAIL**(str) | Disables authentication entirely. A new account with the specified email will be created if it does not exist. |

Expand Down
2 changes: 1 addition & 1 deletion beaverhabits/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Settings(BaseSettings):
ENABLE_DESKTOP_ALGIN_CENTER: bool = True

INDEX_SHOW_HABIT_COUNT: bool = False
INDEX_HABIT_NAME_WIDTH: int = 115
INDEX_HABIT_NAME_WIDTH: int = 118
INDEX_HABIT_DATE_COLUMNS: int = 5

def is_dev(self):
Expand Down

0 comments on commit 2f3c859

Please sign in to comment.