Code Monkey home page Code Monkey logo

Comments (10)

tohugaby avatar tohugaby commented on September 15, 2024

why not define a max/min height for "project-item "class.

.project-item {
...
    min-height: 500px;
    max-height: 500px;
}

For contained "image-wrapper" something like a defined height and an auto width.

.image-wrapper {
   ...
    max-height: 300px;
    width: 100%;

.img-responsive {
    ...
    max-width: 100%;
    height: 200px;
    width: auto;

}

For the "project-description" class an overflow: scroll and a max-height

.project-description {
...
    max-height: 100px;
    overflow: auto;

}

It should look like this:
alumnis_example

from alumnis.

celine-m-s avatar celine-m-s commented on September 15, 2024

It's an idea but the problem is that it would not be responsive and that would be a bigger problem.
I think it could be better to simply wrap columns into rows, like the official Bootstrap documentation indicates.
We should close the row and add a new one each 3 columns.
Do you want to give it a try? :)

from alumnis.

tohugaby avatar tohugaby commented on September 15, 2024

Ok Céline i just made a new PR to solve that on index and student pages :-)
#625

from alumnis.

tohugaby avatar tohugaby commented on September 15, 2024

Hello @celine-m-s,
As you asked me, i gave it a try !
Can you tell me what do you think about my PR #625 please ?
Thank you. :-)

from alumnis.

celine-m-s avatar celine-m-s commented on September 15, 2024

Greaaaaaat!
I just answered it. I think you are on the right path towards the solution! But maybe we could write less code adding a condition directly on the loop. Can you tell me if it works?

from alumnis.

tohugaby avatar tohugaby commented on September 15, 2024

Thank you for the review.
As you asked , i made the changes. It works like a charm and makes template more readable.
I Just update my PR. Travis checks are OK.

from alumnis.

celine-m-s avatar celine-m-s commented on September 15, 2024

That's perfect! I just merged your PR. Many thanks for your contribution!

from alumnis.

tohugaby avatar tohugaby commented on September 15, 2024

it was a pleasure and also my first real contribution!
Thank you for your help.

from alumnis.

celine-m-s avatar celine-m-s commented on September 15, 2024

;-)
There is another open issue if you're feeling bored! :-D

from alumnis.

tohugaby avatar tohugaby commented on September 15, 2024

I just make another PR #629 to replace empty students pictures with a generic one (OC svg). Nothing to do with the opened issue but i think it make the index page looking better. ; )
What do you think about that ?

I have to go back to my work but if i'm reading the OC cours about bootstrap.I have see how pagination is working and maybe i will try to solve opened issue in the next days if nobody tried before me.

from alumnis.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.