Spaces:
Paused
Paused
ux: center profile nickname input within tab
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -877,7 +877,7 @@ function promptProfileLabel(n) {
|
|
| 877 |
inp.value = cur;
|
| 878 |
inp.placeholder = '별칭 (예: 동식, 가족)';
|
| 879 |
inp.maxLength = 30;
|
| 880 |
-
inp.style.cssText = 'width:
|
| 881 |
inp.addEventListener('click', e => e.stopPropagation());
|
| 882 |
inp.addEventListener('keydown', (e) => {
|
| 883 |
if (e.key === 'Enter') { e.preventDefault(); inp.blur(); }
|
|
|
|
| 877 |
inp.value = cur;
|
| 878 |
inp.placeholder = '별칭 (예: 동식, 가족)';
|
| 879 |
inp.maxLength = 30;
|
| 880 |
+
inp.style.cssText = 'width:100%;background:transparent;border:0;outline:0;color:inherit;font:inherit;text-align:center;padding:0;box-sizing:border-box;display:block;';
|
| 881 |
inp.addEventListener('click', e => e.stopPropagation());
|
| 882 |
inp.addEventListener('keydown', (e) => {
|
| 883 |
if (e.key === 'Enter') { e.preventDefault(); inp.blur(); }
|