Merge branch 'develop' of github.com:thecodingmachine/workadventure into main
This commit is contained in:
@@ -8,7 +8,7 @@ function close(): boolean {
|
||||
|
||||
</script>
|
||||
|
||||
<dialog class="error-dialog nes-dialog is-dark is-rounded" id="dialog-dark-rounded" open>
|
||||
<div class="error-div nes-container is-dark is-rounded" open>
|
||||
<p class="nes-text is-error title">Error</p>
|
||||
<div class="body">
|
||||
{#each $errorStore as error}
|
||||
@@ -18,12 +18,16 @@ function close(): boolean {
|
||||
<div class="button-bar">
|
||||
<button class="nes-btn is-error" on:click={close}>Close</button>
|
||||
</div>
|
||||
</dialog>
|
||||
</div>
|
||||
|
||||
<style lang="scss">
|
||||
dialog.error-dialog {
|
||||
div.error-div {
|
||||
pointer-events: auto;
|
||||
top: 10%;
|
||||
margin-top: 10vh;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
width: max-content;
|
||||
max-width: 80vw;
|
||||
|
||||
.button-bar {
|
||||
text-align: center;
|
||||
|
||||
@@ -14,14 +14,15 @@
|
||||
pointer-events: all;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 515px;
|
||||
width: 530px;
|
||||
margin-top: 200px;
|
||||
max-width: 100vw;
|
||||
|
||||
.defaultCard {
|
||||
border-radius: 5px;
|
||||
border: 2px black solid;
|
||||
background-color: whitesmoke;
|
||||
width: 500px;
|
||||
width: 530px;
|
||||
|
||||
header {
|
||||
padding: 5px;
|
||||
@@ -30,7 +31,7 @@
|
||||
|
||||
iframe {
|
||||
border: 0;
|
||||
width: 515px;
|
||||
width: 530px;
|
||||
height: 270px;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -60,5 +61,4 @@
|
||||
<div class="buttonContainer">
|
||||
<button class="nes-btn is-popUpElement" on:click={closeCard}>Close</button>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user