dongsik22 commited on
Commit
644a1db
·
1 Parent(s): 94e5494

ux: center profile nickname input within tab

Browse files
Files changed (1) hide show
  1. 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:90px;background:transparent;border:0;outline:0;color:inherit;font:inherit;text-align:center;padding:0;';
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(); }