Small bug: duplicate CSS declaration in Responsive plugin

Small bug: duplicate CSS declaration in Responsive plugin

petr.kuzmanpetr.kuzman Posts: 1Questions: 0Answers: 0

I am using Google Closure Template CSS linter/optimizer, which fails on Responsive plugin CSS file:

    java -jar tool/closure-stylesheets.jar responsive.bootstrap4.css 
    Detected multiple identical, non-alternate declarations in the same ruleset. If this is intentional please use the /* @alternate */ annotation. overflow:[auto] in responsive.bootstrap4.css at line 126 column 1:
    div.dtr-modal div.dtr-modal-display {
    ^
    1 error(s), 0 warning(s)

Please just remove one "overflow: auto" line from "div.dtr-modal div.dtr-modal-display" declaration.

    div.dtr-modal div.dtr-modal-display {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      width: 50%;
      height: 50%;
      overflow: auto;             /* here */
      margin: auto;
      z-index: 102;
      overflow: auto;             /* or here */
      background-color: #f5f5f7;
      border: 1px solid black;
      border-radius: 0.5em;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    }

Btw, thanks for the great library! :-)

This discussion has been closed.