materialize icon indicating copy to clipboard operation
materialize copied to clipboard

Show-on-small class does not work

Open alanneese opened this issue 8 years ago • 6 comments

When asking general "how to" questions:

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

  1. https://codepen.io/alanneese/pen/ZvvmjN 2. 3.

Context

Your Environment

  • Version used: materialize/0.100.2/css
  • Browser Name and version: Chrome 63
  • Operating System and version (desktop or mobile): Windows 10 desktop
  • Link to your project (if appropriate): https://codepen.io/alanneese/pen/ZvvmjN

alanneese avatar Jan 08 '18 21:01 alanneese

Please fill out the issue template with more information. Also your codepen link doesn't work

acburst avatar Jan 10 '18 00:01 acburst

https://codepen.io/alanneese/pen/QamMbV

http://www.lockerroomtech.com

On Tue, Jan 9, 2018 at 6:26 PM, Alan Chang [email protected] wrote:

Please fill out the issue template with more information. Also your codepen link doesn't work

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Dogfalo/materialize/issues/5531#issuecomment-356458802, or mute the thread https://github.com/notifications/unsubscribe-auth/ABcTR-L8Ni5kbjvdrI9FP9H1kHZqQh5sks5tJAOigaJpZM4RW-YG .

alanneese avatar Jan 10 '18 16:01 alanneese

The class itself doesn't hide, it only applies display block on small screens. Its up to you to apply the styles to hide the element on default however you see fit.

acburst avatar Jan 18 '18 19:01 acburst

The doc says "Show for Mobile Only". The doc infers that the class will hide on everything higher than mobile.

http://www.lockerroomtech.com

On Thu, Jan 18, 2018 at 1:51 PM, Alan Chang [email protected] wrote:

The class itself doesn't hide, it only applies display block on small screens. Its up to you to apply the styles to hide the element on default however you see fit.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Dogfalo/materialize/issues/5531#issuecomment-358761693, or mute the thread https://github.com/notifications/unsubscribe-auth/ABcTRz5QCLjy0EOZ50bUVY2xcOkzxR_pks5tL6C7gaJpZM4RW-YG .

alanneese avatar Jan 18 '18 19:01 alanneese

Agreed with @alanneese, it's a bug in either documentation or code.

IMO, the behaviour in documentation would be more useful i.e. "show-on-X-only" would complement "hide-on-X-only" very nicely.

Andruso avatar Mar 06 '18 13:03 Andruso

Still not fixed :(

briavers avatar Aug 07 '19 16:08 briavers