mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
cleanup
This commit is contained in:
parent
8d2fab7dea
commit
5aeb49641b
3 changed files with 3 additions and 22 deletions
|
|
@ -82,7 +82,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
{#if uninstall != null}
|
||||
<Row class="centre m-3">
|
||||
<button class="btn btn-primary" onclick={uninstall}>
|
||||
{$tr.launcherUninstall()} (TODO)
|
||||
{$tr.launcherUninstall()}
|
||||
</button>
|
||||
</Row>
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -100,6 +100,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
{setError(e)}
|
||||
<Warning warning={$tr.launcherFailedToSync()} className="alert-danger" />
|
||||
{/await}
|
||||
|
||||
{#if error != null}
|
||||
<Row>
|
||||
<pre>{error.message}</pre>
|
||||
|
|
@ -132,30 +133,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
.logo {
|
||||
max-width: 50px;
|
||||
margin-inline-end: 1em;
|
||||
|
||||
-webkit-user-drag: none;
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
}
|
||||
|
||||
.title {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
:global(.centre) {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
pre {
|
||||
white-space: pre-wrap; /* Since CSS 2.1 */
|
||||
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
|
||||
white-space: -pre-wrap; /* Opera 4-6 */
|
||||
white-space: -o-pre-wrap; /* Opera 7 */
|
||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// Copyright: Ankitects Pty Ltd and contributors
|
||||
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
|
||||
import type { GetLangsResponse_Pair, GetMirrorsResponse_Pair, GetVersionsResponse } from "@generated/anki/launcher_pb";
|
||||
import * as _tr from "@generated/ftl-launcher";
|
||||
import { writable } from "svelte/store";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue