Кемеровские программисты php общаются здесь
Гость
Проблема с текстом при повороте PDF в Laravel Snappy PDF
Сообщение
Гость » 12 мар 2024, 11:33
Вот стиль CSS
Код: Выделить всё
#rotatetext {
float:center;
text-align:center;
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-ms-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
transform: rotate(-90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
vertical-align: middle;
}
вот код в блейд-файле
Код: Выделить всё
@foreach ( $subj_list as $subj_code )
Q{{ $q_key }} {{ $subj_code }}
@endforeach
This is the output my problem is text-wrap wont work, I want to the is a 1 line for every subject code to remove the extra spaces.
[1]:
Источник:
https://stackoverflow.com/questions/781 ... text-issue
1710232436
Гость
Вот стиль CSS [code] #rotatetext { float:center; text-align:center; -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); -ms-transform: rotate(-90deg); -o-transform: rotate(-90deg); transform: rotate(-90deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); vertical-align: middle; } [/code] вот код в блейд-файле [code]@foreach ( $subj_list as $subj_code ) Q{{ $q_key }} {{ $subj_code }} @endforeach [/code] This is the output my problem is text-wrap wont work, I want to the is a 1 line for every subject code to remove the extra spaces. [1]: https://i.stack.imgur.com/SPOM6.png Источник: [url]https://stackoverflow.com/questions/78145636/laravel-snappy-pdf-rotation-nowrap-text-issue[/url]