_modal.scss in Code Snippets 3.8.1, at css/common/_modal.scss
| 1 | .code-snippets-modal { |
| 2 | .components-modal__header { |
| 3 | padding-block-end: 24px; |
| 4 | } |
| 5 | |
| 6 | .components-modal__content { |
| 7 | padding: 0; |
| 8 | display: flex; |
| 9 | flex-flow: column; |
| 10 | background: #f6f7f7; |
| 11 | overflow: initial; |
| 12 | max-inline-size: 100%; |
| 13 | } |
| 14 | |
| 15 | .modal-content { |
| 16 | flex: 1; |
| 17 | padding-block: 36px; |
| 18 | padding-inline: 45px; |
| 19 | display: flex; |
| 20 | flex-flow: column; |
| 21 | } |
| 22 | |
| 23 | .components-modal__header + div { |
| 24 | display: flex; |
| 25 | flex-flow: column; |
| 26 | flex: 1; |
| 27 | overflow-y: auto; |
| 28 | } |
| 29 | |
| 30 | .modal-footer { |
| 31 | border-block-start: 1px solid #e2e2e4; |
| 32 | display: flex; |
| 33 | flex-flow: row-reverse; |
| 34 | justify-content: space-between; |
| 35 | align-items: center; |
| 36 | inset-block-end: 0; |
| 37 | background: #f6f7f7; |
| 38 | inline-size: 100%; |
| 39 | padding: 11px 19px; |
| 40 | |
| 41 | .button-link { |
| 42 | text-decoration: none; |
| 43 | } |
| 44 | |
| 45 | .button-large { |
| 46 | block-size: 45px; |
| 47 | |
| 48 | &.button-primary { |
| 49 | padding: 0 30px; |
| 50 | } |
| 51 | } |
| 52 | } |
| 53 | } |
| 54 |