Skip to content

Commit 5760d29

Browse files
committed
Fix styling for mobile
1 parent f9b1666 commit 5760d29

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "hledger-notes",
33
"name": "Hledger Notes",
4-
"version": "1.1.1",
4+
"version": "1.1.2",
55
"minAppVersion": "1.0.0",
66
"description": "Create and manage hledger entries directly in your vault.",
77
"author": "Boburmirzo Khamrakulov",

styles.css

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353

5454
.hledger-account-input {
5555
width: 100%;
56+
height: 32px;
57+
box-sizing: border-box;
5658
}
5759

5860
.hledger-account-suggest-container {
@@ -102,6 +104,8 @@
102104
.hledger-amount-input {
103105
width: 120px;
104106
min-width: 100px;
107+
height: 32px;
108+
box-sizing: border-box;
105109
}
106110

107111
.hledger-currency-select {
@@ -136,15 +140,21 @@
136140

137141
.hledger-type-toggle {
138142
flex: 1;
143+
height: 32px;
144+
box-sizing: border-box;
139145
}
140146

141147
.hledger-date-input {
142148
width: 130px;
149+
height: 32px;
150+
box-sizing: border-box;
143151
}
144152

145153
.hledger-description-input {
146154
width: 100%;
147155
margin-bottom: 1em;
156+
height: 32px;
157+
box-sizing: border-box;
148158
}
149159

150160
.hledger-buttons-container {
@@ -197,6 +207,8 @@
197207

198208
.hledger-date-range input[type="date"] {
199209
width: 100%;
210+
height: 32px;
211+
box-sizing: border-box;
200212
}
201213

202214
.hledger-settings-search {
@@ -248,13 +260,14 @@
248260
}
249261

250262
.hledger-description-row .hledger-description-input {
251-
flex: 1;
252263
margin-bottom: 0;
253264
}
254265

255266
.hledger-transaction-currency-select {
256267
width: auto;
257268
min-width: 80px;
269+
height: 32px;
270+
box-sizing: border-box;
258271
}
259272

260273
/* Mobile styles for entry rows */

0 commit comments

Comments
 (0)