Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Potential defect with _sidenav.scss (link padding left)

dschaefers62 priority asked 1 year ago


Expected behavior

Attempted to override in _variables.scss

$sidenav-collapse-sidenav-link-padding-left: 2.5rem;

Actual behavior

Padding remained at 3.4rem. It seems _sidenav.scss is not using the $sidenav-collapse-sidenav-link-padding-left: variable.

I had to modify _sidenav.scss:

    **// djs fix in .sidnav {}**
  --#{$prefix}sidenav-collapse-sidenav-link-padding-left: #{$sidenav-collapse-sidenav-link-padding-left};

.sidenav-link {
    ...

    **//djs fix**
    padding-left: var(--#{$prefix}sidenav-collapse-sidenav-link-padding-left);
    // padding-left: 3.4rem;
  }

Resources (screenshots, code snippets etc.)


Kamila Pieńkowska staff answered 1 year ago


That is a bug. We will fix it.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.1.0
  • Device: Desktop
  • Browser: Any
  • OS: Win 11
  • Provided sample code: Yes
  • Provided link: No