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

Unable to change tile min-height #18

Open
kotmatpockuh opened this issue Oct 15, 2015 · 1 comment
Open

Unable to change tile min-height #18

kotmatpockuh opened this issue Oct 15, 2015 · 1 comment

Comments

@kotmatpockuh
Copy link

For example in css i set min-height for tile, but when i load page - height is calculated with a little bit of "magic". And it cause some "bad" .top offset
How can i set min tile height?

@rubenmarcus
Copy link

rubenmarcus commented Jun 29, 2017

@kotmatpockuh changed through css:


.wp-tiles-container{
    height: auto!important;}

.wp-tiles-grid {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.wp-tiles-loaded .wp-tiles-tile {
    position: relative;
    width: width you want!important;
    height: height you want!important;
    top: 0!important;
    left: 0!important;
    margin-bottom: margin between tiles;
}

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

No branches or pull requests

2 participants