Skip to content
This repository was archived by the owner on Dec 15, 2018. It is now read-only.

Added class for close button image#8

Open
sky4git wants to merge 3 commits intogooglearchive:gh-pagesfrom
DevelopersQ:gh-pages
Open

Added class for close button image#8
sky4git wants to merge 3 commits intogooglearchive:gh-pagesfrom
DevelopersQ:gh-pages

Conversation

@sky4git
Copy link

@sky4git sky4git commented Jul 11, 2015

Added option to add close image css class.
option name is 'closeClass'
This can be used to apply css class to close image.
I have added this because recently I encountered problem where I want to apply some css rules to close button and there was no easiest way as per the script to achieve that. Now we can apply css class and css rules as we wish using this.

Added option to add close image class. 
option name is 'closeClass'
This can be used to apply css class to close image. 
I have added this because recently i encountered problem where I want to apply some css rules to close button and there was no easiest way as per the script to achieve that. Now we can apply css class and apply css rules as we wish.
@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@sky4git
Copy link
Author

sky4git commented Oct 26, 2015

I signed it!

@googlebot
Copy link

CLAs look good, thanks!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove this line?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I had an issue with varied height content. If I set MaxHeight, for example, 400px, It applies it as css height:400px, which is not ideal. It means even if content is shorter, it will make infoBubble longer. If content is longer than it adds scrollbar. Both of them are not acceptable. So, I just removed the height thing from my script.
It may not be the issue for others, You can ignore that particular line change.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't just ignore the line change unfortunately. <yoda>Merge or do not merge, there is no ignore. </yoda>

If you remove this change I'll merge it in.

For this merge request, I am just removing comment // for line no 1762, which I have done for my personal changes. Its back now as it is with changes I have done to add css class for close button.
@sky4git
Copy link
Author

sky4git commented Oct 30, 2015

Updated it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@param {string} className

Updated className string in line 799, 801, 802 and 803
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants