question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Resizing cross doesn't work

See original GitHub issue

Docs:

/* Position and sizing of clickable cross button */
.bm-cross-button {
  height: 24px;
  width: 24px;
}

Changing these values (e.g. 50px, 80px) does nothing. Something in the code overrides it with the default 24px values (which I’m assuming the hamburger bars are generated from).

Using !important doesn’t help.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
negomicommented, May 12, 2019

Hey @Mvbraathen, sure, you can just find a cross image you like, then pass it as the customCrossIcon prop. See docs: https://github.com/negomi/react-burger-menu#custom-icons

1reaction
Ruslan-Pantaevcommented, Jan 2, 2019

Had same issue. Try using min-width and min-height, worked for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I resize a cross-domain iFrame that I do not have ...
Based on the comments I received, it seems safe to say that it is impossible to re-size a cross-domain iFrame from the client/browser...
Read more >
Cross Domain iframe Resizing
This solution presupposes that you have control over both the hosting site and the source site. You'll need to run JavaScript on both...
Read more >
Resizing cross-domain Iframes - Johan Driessen
When we move the application to another domain, however, this won't work anymore. We are not allowed to call top.resizeIframe from the frame ......
Read more >
Cell width resizing doesnt work [Spotfire] - TIBCO Community
Hey can you help. I tried this but this does not work if you right click the cross table and select resize columns...
Read more >
JavaScript Data Grid: Column Sizing
If you don't want a particular column to be included in the auto resize, then set the ... When you do this, the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found