Add option to view event source (#320)

* Add view source

* Add view source cons

* Change design

* Use PopupWindow instead of Dialog

* Undo changes to Dialog.jsx
This commit is contained in:
ginnyTheCat
2022-02-22 14:31:04 +01:00
committed by GitHub
parent a8a168b0a7
commit 1d7fbc841e
8 changed files with 119 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
@use '../../partials/dir';
.view-source {
@include dir.side(margin, var(--sp-normal), var(--sp-extra-tight));
& pre {
padding: var(--sp-extra-tight);
}
&__card {
margin: var(--sp-normal) 0;
background-color: var(--bg-surface-hover);
border-radius: var(--bo-radius);
box-shadow: var(--bs-surface-border);
overflow: hidden;
}
}