A
A
Alexander Sinitsyn2016-11-21 14:06:37
Yii
Alexander Sinitsyn, 2016-11-21 14:06:37

Why does mpdf mess with bootstrap?

I use https://github.com/kartik-v/yii2-mpdf
I output container + row .
If there is col-xs-12 inside the row , then the cell normally occupies the entire width, i.e. bootstrap is included.
if
col-xs-1 + col-xs-2 + col-xs-2 + col-xs-5 - the last cell is transferred although the sum is still only 10.
Can anyone explain?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2016-11-21
@a_u_sinitsin

col-xs-12 is width: 100%;
so the calculation logic for col-xs-12 and the rest is completely different.
Give me the full code.
Are you interested in whether your col-xs have row and container-fluid parents?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question