Topic: Chips using hard-coded values

UNNdev priority asked 3 years ago


mdb-ui-kit/src/scss/pro/_variables.scss defines some chip and chips related variables starting with the // Chips comment.

However, mdb-ui-kit/src/scss/pro/_chips.scss has some properties hard-coded such as background-color: #eceff1; instead of using $chip-background-color. Also, for the padding, $chip-padding-right is used in the chip itself (for both sides, not only right as the variable name implies), but if there is an image, it's pulled to the left using margin: 0 8px 0 -12px;: the -12px is hard-coded so if the $chip-padding-right variable is changed, the image looks off.


Grzegorz Bujański staff answered 3 years ago


Thanks for reporting this. I'll add this to our to-do list and we'll fix it as soon as possible.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: 3.2.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: Yes
  • Provided link: No
Tags