Larger line-height
This commit is contained in:
parent
6b39eac33f
commit
e67ec07562
@ -20,10 +20,10 @@ class AsciiIo.Renderer.Base extends Backbone.View
|
||||
throw '#renderLine not implemented'
|
||||
|
||||
afterInsertedToDom: ->
|
||||
sample = $('<span class="font-sample">M</span>')
|
||||
sample = $('<span class="font-sample"><span class="line"><span>M</span></span></span>')
|
||||
@$el.parent().append(sample)
|
||||
@cellWidth = sample.width()
|
||||
@cellHeight = sample.height()
|
||||
@cellHeight = sample.find('span span').outerHeight()
|
||||
sample.remove()
|
||||
@fixTerminalElementSize()
|
||||
@fixPlayerContainerSize()
|
||||
|
@ -49,6 +49,14 @@ $color5: #EDC951;
|
||||
font-family: 'Bitstream Vera Sans Mono', 'Courier New', monospace;
|
||||
font-size: 12px;
|
||||
line-height: inherit;
|
||||
|
||||
.line {
|
||||
line-height: 1.4em;
|
||||
|
||||
span {
|
||||
padding: 1px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.terminal {
|
||||
|
Loading…
Reference in New Issue
Block a user