Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

adding some css styling to fix the div height - fixes #500 #504

Closed
wants to merge 7 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 9, 2017

image

@ghost ghost requested a review from neomatrix369 January 10, 2017 11:10
@neomatrix369
Copy link
Contributor

neomatrix369 commented Jan 10, 2017

Layout looks good 👍 and issue is fixed when viewed in normal mode, in all three browsers (Chrome, Firefox, Safari. But when resized to different views, the images inside the page increase in size (sudden jump). This could be due to not all viewports (browser sizes have been configured via css).

Haven;t check on mobile browser - hopefully it will be fine.

@media (min-width: 768px){
.row.team div.col-md-2{
height: 17vw;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: closing brace indentation is not in line

@@ -1126,3 +1126,13 @@ h2.gray-underline:after {
-webkit-align-items: center;
color: #fff;
}

.row.team div.col-md-2 {
Copy link
Contributor

Choose a reason for hiding this comment

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

Any difference defining a class like:

.fixed-image-size {
...
}

and using it in the respective places in the HTML rather how it's done here ?

Copy link
Author

Choose a reason for hiding this comment

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

yeah, probably having a separate class would be better, not sure about the name though

@neomatrix369 neomatrix369 assigned ghost Jan 10, 2017
@jukecraft
Copy link
Contributor

@halimakoundi sorry we have conflicts now

@ghost
Copy link
Author

ghost commented Jan 11, 2017

thanks for letting me know

Copy link
Author

@ghost ghost left a comment

Choose a reason for hiding this comment

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

regarding the resize I have added additional media querie to support various viewport.
so far it is best solution I find within my css skills, happy for any improvement suggestions.

@@ -1126,3 +1126,13 @@ h2.gray-underline:after {
-webkit-align-items: center;
color: #fff;
}

.row.team div.col-md-2 {
Copy link
Author

Choose a reason for hiding this comment

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

yeah, probably having a separate class would be better, not sure about the name though

@cyplo
Copy link
Contributor

cyplo commented Jan 12, 2017

We had a cool chat yesterday with @halimakoundi, we're unsure how to proceed here yet, but it seems that bootstrap is doing their own media queries already to choose different css classes, e.g. md, xs etc.

@ghost
Copy link
Author

ghost commented Jan 16, 2017

please check PR #524 for an alternative solution

@ghost ghost closed this Jan 17, 2017
@PaNaVTEC PaNaVTEC deleted the team-pictures-height-issue branch January 17, 2017 13:42
This pull request was closed.
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.

None yet

5 participants