Skip to content

Instantly share code, notes, and snippets.

@iTeeLion
Created February 21, 2023 13:51
Show Gist options
  • Save iTeeLion/79c381f7e58a30ffdd13ce18a6a8b16a to your computer and use it in GitHub Desktop.
Save iTeeLion/79c381f7e58a30ffdd13ce18a6a8b16a to your computer and use it in GitHub Desktop.
/stream/index.php
<?php
//...
$APPLICATION->IncludeComponent(
'app:crm.company.widget',
'',
[
'ACTIVE' => 'Y',
'COUNT' => 5,
'SHOW_ALL' => 'N',
'AUTO_SHORT' => 'Y',
/*
* Высоту блока делать не стал, ну не дело это... и с padding особо высоту то не высчитаешь,
* надо пересаживаться на flex, делать align-items и высоту блока, не нужно это по моему мнению,
* но если бизнес просит, то решение описано ^_^
*/
],
false
);
//...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment