Fossil SCM

Reduced side margin/padding on text input field to improve phone usability.

stephan 2021-09-21 13:10 chat-markdown
Commit ac6e7ae9da579b64df192b8893b159616dc185b5c9f6fb0c3acd0bafb7a5d8ac
1 file changed +2 -2
--- src/style.chat.css
+++ src/style.chat.css
@@ -199,14 +199,14 @@
199199
}
200200
/* Wrapper for /chat user input controls */
201201
body.chat #chat-input-area {
202202
display: flex;
203203
flex-direction: column;
204
- padding: 0.5em 1em;
204
+ padding: 0.5em 0 0 0;
205205
border-bottom: none;
206206
border-top: 1px solid black;
207
- margin: 0.5em 1em 0 1em;
207
+ margin: 0.5em 0;
208208
position: initial /*sticky currently disabled due to scrolling-related issues*/;
209209
bottom: 0;
210210
}
211211
body.chat:not(.chat-only-mode) #chat-input-area{
212212
/* Safari user reports that 2em is necessary to keep the file selection
213213
--- src/style.chat.css
+++ src/style.chat.css
@@ -199,14 +199,14 @@
199 }
200 /* Wrapper for /chat user input controls */
201 body.chat #chat-input-area {
202 display: flex;
203 flex-direction: column;
204 padding: 0.5em 1em;
205 border-bottom: none;
206 border-top: 1px solid black;
207 margin: 0.5em 1em 0 1em;
208 position: initial /*sticky currently disabled due to scrolling-related issues*/;
209 bottom: 0;
210 }
211 body.chat:not(.chat-only-mode) #chat-input-area{
212 /* Safari user reports that 2em is necessary to keep the file selection
213
--- src/style.chat.css
+++ src/style.chat.css
@@ -199,14 +199,14 @@
199 }
200 /* Wrapper for /chat user input controls */
201 body.chat #chat-input-area {
202 display: flex;
203 flex-direction: column;
204 padding: 0.5em 0 0 0;
205 border-bottom: none;
206 border-top: 1px solid black;
207 margin: 0.5em 0;
208 position: initial /*sticky currently disabled due to scrolling-related issues*/;
209 bottom: 0;
210 }
211 body.chat:not(.chat-only-mode) #chat-input-area{
212 /* Safari user reports that 2em is necessary to keep the file selection
213

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button