Use 'pt' instead of 'px' for font sizes

This commit is contained in:
Corey Johnson
2012-05-31 16:44:45 -07:00
parent 118a48bb47
commit 3c826ec898
5 changed files with 3 additions and 6 deletions

View File

@@ -630,7 +630,7 @@ class Editor extends View
setFontSize: (fontSize) ->
if fontSize
@css('font-size', fontSize + 'px')
@css('font-size', fontSize + 'pt')
@calculateDimensions()
@compositeCursor.updateAppearance()
@updateVisibleLines()

View File

@@ -28,7 +28,7 @@ class RootView extends View
extensions: null
extensionStates: null
fontSize: 18
fontSize: 20
initialize: (pathToOpen) ->
@extensions = {}

View File

@@ -4,8 +4,7 @@
}
body {
font-family: Lucida Grande;
font-size: 12px;
font: 16pt Inconsolata, Monaco, Courier !important;
}
#root-view {

View File

@@ -2,7 +2,6 @@
height: 100%;
overflow: hidden;
background: #333;
font: 18px Inconsolata, Monaco, Courier;
color: white;
cursor: default;
-webkit-user-select: none;

View File

@@ -6,7 +6,6 @@
overflow: auto;
padding: 0 1em;
cursor: default;
font: 16px Inconsolata, Monaco, Courier !important;
-webkit-user-select: none;
}