можно было бы отделить эти нижние кнопки и выставить их хардкодом
public function htmlStyles ($html) {
foreach ($this->_styles as $tag => $style) {
$styles = $tag . '{' .$style. '}';
- $html = str_replace('</head>',$styles, $html);
+ $html .= str_replace('</head>',$styles, $html);
}
return $html;
}
.container { justify-items: center; }
это то же самое что и
.container .child { justify-self: center; }
только для всех сразу.
$product = Product::create([
'title' => 'custom title'
]);
$product->photos()->create(['url' => $image['url']])
Нужна информация для решения проблемы.