N°2847 - Improve panel integration regarding the mockups (not done yet)

This commit is contained in:
Molkobain
2021-01-27 22:28:53 +01:00
parent 43290c0ff5
commit da632c3f0f
3 changed files with 8 additions and 3 deletions

View File

@@ -3,6 +3,12 @@
* @license http://opensource.org/licenses/AGPL-3.0
*/
// IMPORTANT: We have to cancel the panel padding because the tab-container already has its own.
// - As the tab-container can be used outside a panel in another type of block, we can't remove it from its partial (_tab-container.scss)
// - This kind of file is the place where *integrations* like this are supposed to be done, keep this in mind when integrating others blocks
// Note: This might not be named well, maybe "tab-container-within-panel" would have been better?
$ibo-panel-with-tab-container--padding-top: -1 * ($ibo-panel--body--padding-top - $ibo-panel--highlight--height) !default;
$ibo-panel-with-tab-container--margin-x: -1 * $ibo-panel--body--padding-x !default;