Skip to content

Commit f3b9891

Browse files
committed
Minor UI fixes & Bump version
1 parent 344fa4e commit f3b9891

File tree

8 files changed

+36
-671
lines changed

8 files changed

+36
-671
lines changed

LICENSE

+21-661
Large diffs are not rendered by default.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ It is however not recommended to edit the source file with different translated
4242
- Modern Web Browsers - Achieves reasonable performance & resource usage all without me worrying about optimizations (yet).
4343

4444
## License
45-
This project is licensed under the AGPL v3
45+
This project is licensed under the MIT License.

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="A web-based XLIFF Editor">
88
<meta property="og:title" content="XLEdit" />
99
<meta property="og:description" content="A web-based XLIFF Editor." />
10-
<meta property="og:image" content="preview.png" />
10+
<meta property="og:image" content="/preview.png" />
1111
<meta charset=”UTF-8”>
1212

1313
<title>XLEdit</title>

src/App.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
text-underline-offset: 0.25rem;
6161
}
6262
63-
:global(input, textarea) {
63+
:global(input, textarea, select) {
6464
padding: 0.25rem;
6565
border: 1px solid var(--border);
6666
border-radius: 0.25rem;

src/components/Header.svelte

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import { Github, Settings } from 'lucide-svelte';
33
import { openDialog } from '../stores/uiStores';
4-
import { DialogProperty, themes } from '../utils/types';
4+
import { DialogProperty } from '../utils/types';
55
import PreferenceDialog from './overlay/dialogs/preference/Dialog.svelte';
66
import IconLink from './shared/IconLink.svelte';
77
import HeaderTab from './shared/HeaderTab.svelte';
@@ -32,7 +32,7 @@
3232
</div>
3333
<div>
3434
<IconLink link="https://github.com/Kenny-Hui/xledit" target="_blank">
35-
<Github color="black" size={22}/>
35+
<Github size={22}/>
3636
</IconLink>
3737
</div>
3838
</div>

src/components/layout/editor/listing/Listing.svelte

+6-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
</div>
2424
<input placeholder="Search Here..." type="text" bind:value={searchQuery.searchTerm}>
2525
<div class="filter-icon">
26-
<IconButton tooltip="Filter..." on:click={() => visible = !visible}><Filter color={(!searchQuery.showTranslated || !searchQuery.showUntranslated || !searchQuery.showNumericOnly) ? "#005FAA" : "#000"} size={20} /></IconButton>
26+
27+
<IconButton tooltip="Filter..." on:click={() => visible = !visible}><span class:filter-active={!searchQuery.showTranslated || !searchQuery.showUntranslated || !searchQuery.showNumericOnly}><Filter size={20} /></span></IconButton>
2728
{#if visible}
2829
<div class="filter-popmenu" on:focusout={() => visible = false}>
2930
<p>Search Filter...</p>
@@ -58,6 +59,10 @@
5859
width: max-content;
5960
}
6061
62+
.filter-active {
63+
color: var(--highlight-color);
64+
}
65+
6166
.searchbox {
6267
position: sticky;
6368
top: 0;

src/components/shared/IconLink.svelte

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
</script>
99

1010
<Tooltip tooltip={tooltip}>
11-
<a href={link} {target}>
11+
<a class="icon" href={link} {target}>
1212
<slot />
1313
</a>
1414
</Tooltip>
1515

1616
<style>
17-
a {
17+
.icon {
1818
line-height: 1;
1919
display: inline-block;
2020
border: 1px solid transparent;
@@ -26,7 +26,7 @@
2626
background-color: transparent;
2727
}
2828
29-
a:hover {
29+
.icon:hover {
3030
background-color: rgba(0, 0, 0, 0.15);
3131
}
3232
</style>

src/stores/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const VERSION = "0.4.0";
1+
const VERSION = "0.4.1";
22

33
export default {
44
VERSION: VERSION

0 commit comments

Comments
 (0)