vue-js-modal icon indicating copy to clipboard operation
vue-js-modal copied to clipboard

How to change vm-overlay background's color

Open nguyenhoangtuehachix opened this issue 2 years ago • 2 comments

Problem:

I want to change overlay color from default's color rgb(0,0,0,0.2) to rgb(0,0,0,0)

Version:

Version 2.0.0

Example & screenshots:

image

I have checked stackoverflow for solutions and 100% sure that this issue is not not related to my code.

nguyenhoangtuehachix avatar Oct 16 '21 06:10 nguyenhoangtuehachix

  1. If you tried to use "rgb" with 4 param, so you need to rename it into "rgba".
  2. If you used "rgba" and have not effects, In component when call modal you can use that CSS-stylse to vm--overlay like that .vm--overlay { background-color: rgba(0, 0, 0, 0) !important; }

EneroPl avatar Oct 21 '21 09:10 EneroPl

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 09 '22 07:01 stale[bot]