Skip to content

Commit

Permalink
style: error msg responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Junk committed Nov 15, 2023
1 parent 57476d9 commit 166dfa9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/lib/feedview/Loader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@
</div>
{#if $appStore.ui.feedErrorMsg}
<div class="row">
<div class="col"><div class="errors text-error">{$appStore.ui.feedErrorMsg}</div></div>
<div class="col-6 col-3-lg" />
<div class="col-6 col-9-lg">
<div class="errors text-error">{$appStore.ui.feedErrorMsg}</div>
</div>
</div>
{/if}

Expand Down
6 changes: 4 additions & 2 deletions src/lib/singleview/LoadFromURL.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,15 @@
</div>
{#if $appStore.ui.singleErrorMsg}
<div class="row">
<div class="col"><div class="errors text-error">{$appStore.ui.singleErrorMsg}</div></div>
<div class="col-6 col-3-lg" />
<div class="col-6 col-9-lg">
<div class="errors text-error">{$appStore.ui.singleErrorMsg}</div>
</div>
</div>
{/if}

<style>
.errors {
margin-left: 200px;
font-size: x-large;
font-weight: bold;
}
Expand Down

0 comments on commit 166dfa9

Please sign in to comment.