juice-shop/juice-shop

View on GitHub
frontend/src/app/payment-method/payment-method.component.scss

Summary

Maintainability
Test Coverage
/*!
 * Copyright (c) 2014-2024 Bjoern Kimminich & the OWASP Juice Shop contributors.
 * SPDX-License-Identifier: MIT
 */

.heading {
  background: rgba(0, 0, 0, 0.2);
  font-size: x-large;
  justify-content: center;
  padding: 12px 20px;
}

mat-form-field {
  width: 100%;
}

.mat-expansion-panel-header-description {
  flex-basis: 0;
}

.detail-divider {
  margin-bottom: 12px;
  margin-top: 12px;
}

mat-header-row {
  min-height: 0 !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}