HappenApps / Quiver

Quiver documentation and issue tracker
2.26k stars 109 forks source link

Code padding not working #1353

Open PuffedRiceCrackers opened 5 years ago

PuffedRiceCrackers commented 5 years ago

Hello, I'm trying to put some padding to code cell like the second one below,

padding

but the padding seems to work only for the bottom.

.code-cell .editor {
  padding: 15px;         /* only change the bottom padding */
}

I've tried padding-top and everything. The way to get around this issue was to overwrite it like this

.code-cell .editor {
  font-size: 12px;
  padding: 15px 15px 15px 15px;
  line-height: 1.5;
}

.code-cell .editor .ace_content {
  padding: 15px 15px 15px 15px;
}

Which I thought I would just settle with but then it caused this awful cursor bug when typing non-English character.

padding gif

So this bug seems to be around from 4 years ago and I'm curious if we can expect any fix. Thank you.

ylian commented 5 years ago

The cursor bug will be fixed in the new editor. It's about 80% complete. Use the default settings for now to avoid such issues.