Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow changing logo size in templates #267

Merged
merged 3 commits into from
Mar 13, 2018
Merged

Allow changing logo size in templates #267

merged 3 commits into from
Mar 13, 2018

Conversation

hql287
Copy link
Owner

@hql287 hql287 commented Mar 13, 2018

Description

After trying out a few logos with different shapes and sizes, I realized that the current style/CSS doesn't work well in some cases, such as when the logo is very wide and short, or the opposite, very narrow and tall.

This PR fixed this issue by allowing the user to customize the logo size.

Related Issue

Motivation and Context

Increase flexibility in customizing templates.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have included a migration scheme (If type of change is breaking change)

Also set initial value in reducer
+ Bumped resize size from 125px to 500px.
+ Added new string: “Logo Size” for translation
+ Updated CSS
@hql287
Copy link
Owner Author

hql287 commented Mar 13, 2018

@huyphams: This should fix #160 :)

@hql287 hql287 merged commit 0332c33 into dev Mar 13, 2018
@hql287 hql287 mentioned this pull request Mar 13, 2018
2 tasks
@hql287 hql287 deleted the resize-logo branch March 21, 2018 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant