Skip to content

Commit 469a66c

Browse files
committed
Mobile-friendly UX for adding chocies
1 parent 8bee6a8 commit 469a66c

File tree

6 files changed

+19
-4
lines changed

6 files changed

+19
-4
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ Quickly add new pages or content to your vault.
99
You can also do a [manual installation](docs/ManualInstallation.md).
1010

1111
## What's new?
12-
### 0.3.10
12+
### 0.3.10 - 0.3.11
1313
- Added a warning when deleting a Multi choice that you will delete all choices within.
1414
- Fix #51 - Templater syntax is now processed when appending to the current file.
1515
- Fix "Template (not found)" for templates that exist.
1616
- Fix #46 - Error if adding a template that doesn't exist.
1717
- Template: Create file in same folder as current file.
1818
- Fix bug with insertion and creation of 'Insert After' line (if it does not exist).
19+
- Mobile friendly UX for adding choices.
1920

2021
### 0.3.6 - 0.3.9
2122
- Added setting to create the 'Insert After' line if it isn't found.

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "quickadd",
33
"name": "QuickAdd",
4-
"version": "0.3.10",
4+
"version": "0.3.11",
55
"minAppVersion": "0.12.5",
66
"description": "Quickly add new pages or content to your vault.",
77
"author": "Christian B. B. Houmann",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "quickadd",
3-
"version": "0.3.10",
3+
"version": "0.3.11",
44
"description": "Quickly add new pages or content to your vault.",
55
"main": "main.js",
66
"scripts": {

src/gui/choiceList/AddChoiceBox.svelte

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,18 @@
3636
.addChoiceBox {
3737
margin-top: 1em;
3838
display: flex;
39+
flex-direction: row;
3940
align-items: center;
4041
gap: 10px;
4142
justify-content: center;
4243
}
4344
45+
@media (max-width: 800px) {
46+
.addChoiceBox {
47+
flex-direction: column;
48+
}
49+
}
50+
4451
#addChoiceTypeSelector {
4552
font-size: 16px;
4653
padding: 3px;

src/gui/choiceList/ChoiceView.svelte

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,15 @@
157157
<style>
158158
.choiceViewBottomBar {
159159
display: flex;
160+
flex-direction: row;
160161
align-items: center;
161162
justify-content: space-between;
162163
margin-top: 1rem;
163164
}
165+
166+
@media (max-width: 800px) {
167+
.choiceViewBottomBar {
168+
flex-direction: column;
169+
}
170+
}
164171
</style>

versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"0.2.16": "0.12.4",
3-
"0.3.10": "0.12.5"
3+
"0.3.11": "0.12.5"
44
}

0 commit comments

Comments
 (0)