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 map controls (+, -) and map view on desktop #10

Merged
merged 1 commit into from
Dec 23, 2019

Conversation

pranavkarthik10
Copy link
Contributor

Purpose

This is to fix issue #9 and the current desktop map view.

Process

Created new css class for map view and updated it with new options. Changed class of current map view to new class which allowed controls to work. Added css rule using media query to allow mobile to work as well.

Preview

View the working +/- controls and updates at https://pranavkarthik10.github.io/opentechsummit.eu/

Before

  • Desktop
    Screen Shot 2019-12-22 at 7 54 06 PM
  • Mobile
    Screen Shot 2019-12-22 at 7 54 45 PM

After

  • Desktop
    Screen Shot 2019-12-22 at 7 51 03 PM
  • Mobile
    Screen Shot 2019-12-22 at 7 53 41 PM

@pranavkarthik10 pranavkarthik10 mentioned this pull request Dec 23, 2019
@@ -0,0 +1,59 @@
.map-view iframe {

Choose a reason for hiding this comment

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

Duplicate of
https://github.com/fossasia/summit.fossasia.org/pull/28/files
You have copied everything from my pull request

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the review. In Open Source using existing code is fine, but the author should be referenced. Please do this next time.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm sorry you feel this way but I just referenced the code from the current existing map-holder class in the camaro.less file. I realized using plain css would be better than less syntax and updated it with a new class map-view. I also added media-query css rule to update view for mobile with the position attribute.

@mariobehling mariobehling merged commit eb54af1 into OpnTec:gh-pages Dec 23, 2019
@pranavkarthik10
Copy link
Contributor Author

Thank you for merging the request!

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.

None yet

4 participants