N°4039 - Add margin below an object details

- Easier read of the fields at the bottom of it
- Better display of a dropdown at the bottom of it
This commit is contained in:
Molkobain
2021-08-09 17:19:36 +02:00
parent 252d752bf5
commit cdbb4470fc
3 changed files with 9 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
* @copyright Copyright (C) 2010-2021 Combodo SARL
* @license http://opensource.org/licenses/AGPL-3.0
*/
$ibo-panel-within-main-content--margin-bottom: 200px !default;
$ibo-panel-within-main-content--sticky-sentinel-top--top: -1 * $ibo-main-content--padding-top !default;
$ibo-panel-within-main-content--sticky-sentinel-top--height: $ibo-main-content--padding-top !default;
@@ -17,6 +18,8 @@ $ibo-panel-within-main-content--header--top--is-sticky: -1 * $ibo-main-content--
* - Unlike in JS, there no easy way to find the closest descendant
*/
.ibo-panel.ibo-has-sticky-header {
margin-bottom: $ibo-panel-within-main-content--margin-bottom; /* Add a margin below the panel so the dropdown lists can open without problem (N°4039) */
/* Stickable header rules */
> .ibo-sticky-sentinel-top {
top: $ibo-panel-within-main-content--sticky-sentinel-top--top;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long