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

fix: align items in context menu #2640

Merged
merged 1 commit into from Dec 20, 2020

Conversation

ReneCode
Copy link
Contributor

@ReneCode ReneCode commented Dec 20, 2020

change the css for context-menu to look the shortcut text a little bit better. It was not perfect, because the font-size of the shortcut is reduced.

Fixes #2641

@vercel
Copy link

vercel bot commented Dec 20, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/excalidraw/excalidraw/5pmh5yaih
✅ Preview: https://excalidraw-git-fork-renecode-context-menu-align-text.excalidraw.vercel.app

@ReneCode ReneCode changed the title align items in context menu fix: align items in context menu Dec 20, 2020
@ReneCode
Copy link
Contributor Author

that PR will fix issue #2641

@vjeux vjeux merged commit aff817c into excalidraw:master Dec 20, 2020
@ReneCode
Copy link
Contributor Author

without center:
Bildschirmfoto 2020-12-20 um 21 17 02

with center:
Bildschirmfoto 2020-12-20 um 21 15 12

lipis added a commit that referenced this pull request Dec 21, 2020
…aster

* 'master' of github.com:excalidraw/excalidraw:
  refactor: Remove the word toggle from labels (#2648)
  chore(deps): bump browser-nativefs from 0.11.2 to 0.12.0 (#2634)
  feat: Checkmark to toggle context-menu-items (#2645)
  align items in context menu (#2640)
  fix: Center zoom on iPhone and iPad (#2642)
  fix: Don't break zoom when zooming in on UI (#2638)
  chore: Remove changelog check and graphql (#2639)
  improvement: Tweak error message on image import (#2619)
  chore(deps-dev): bump webpack in /src/packages/excalidraw (#2625)
  docs: excalidraw package usage example tweaks (#2608)
  feat: Add onExportToBackend prop so host can handle it (#2612)
  fix: Consistent case for export locale strings (#2622)
  improvement: Support numbers with commas in them (#2636)
  chore(deps-dev): bump @babel/preset-env in /src/packages/excalidraw (#2624)
  chore(deps-dev): bump webpack-bundle-analyzer (#2623)
  fix(appstate.ts): Remove unnecessary console.error as it was polluting Sentry (#2637)
  chore(deps-dev): bump webpack-bundle-analyzer in /src/packages/utils (#2626)
  chore(deps-dev): bump webpack in /src/packages/utils (#2627)
  chore(deps-dev): bump @babel/preset-env in /src/packages/utils (#2628)
  chore(deps-dev): bump eslint-config-prettier from 7.0.0 to 7.1.0 (#2632)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

context-menu: center the shortcut text
3 participants