details {
  padding: 1em 0;

  summary {
    cursor: pointer;
    display: block;
  }
}

.no-details {
  details {
    :not(summary) {
      display: none;
    }

    summary:before {
      content: '► ';
    }

    &.open {
      summary:before {
        content: '▼ ';
      }
    }
  }
}

details {
  padding: 1em 0;

  summary {
    cursor: pointer;
    display: block;
  }
}

.no-details {
  details {
    :not(summary) {
      display: none;
    }

    &.open * {
      display: block;
    }

    summary:before {
      content: '► ';
    }

    &.open {
      summary:before {
        content: '▼ ';
      }
    }
  }
}

Fix problem view contents in firefox
Fix problem view contents in firefox
