Skip to content

Commit

Permalink
Adjust instructions for tweaking logo height (#1217)
Browse files Browse the repository at this point in the history
* adjust comment in initializers/logo.rb: see also theme.rb

* initializers/theme: add instructions to tweak logo further
  • Loading branch information
pascallaliberte authored Dec 4, 2023
1 parent 1e704fa commit 89927ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/initializers/logo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
# You may want to play with this setting after replacing the default Bullet Train starter kit logo with something else.
# For example, if your logo is more squarish in aspect ratio, you probably want to increase this. However, remember you
# must `rails restart` the server in order to see this setting take effect locally.
# See also: `config/initializers/theme.rb` for settings affecting the logo in the main menu.
BulletTrain::Themes.logo_height = 54
2 changes: 1 addition & 1 deletion config/initializers/theme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
# The orientation of the navbar.
# BulletTrain::Themes::Light.navigation = :left
#
# The logo shown in the navbar.
# The logo shown in the navbar. To tweak further, run `bin/resolve shared/menu/logo --eject`
# BulletTrain::Themes::Light.show_logo_in_account = true

0 comments on commit 89927ab

Please sign in to comment.