Автоматически добавлять к картинками в новостях responsive-классы #87

Closed
samdark opened this Issue Dec 12, 2016 · 2 comments

Projects

None yet

2 participants

@samdark
Owner
samdark commented Dec 12, 2016

Должно быть <img class="img img-responsive".

@alexantr
alexantr commented Dec 13, 2016 edited

Проще в CSS добавить

.post-item img {
    max-width: 100%;
    height: auto;
}

Но если добавлять класс, то только .img-responsive, т.к. в BS3 класса .img нет.

@samdark
Owner
samdark commented Dec 13, 2016

Кстати, да. Проще в CSS :)

@samdark samdark added a commit that closed this issue Dec 13, 2016
@samdark Fixes #87 a60bdf5
@samdark samdark closed this in a60bdf5 Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment