From 07a09e34d87565cfaf8b92fa96c304680812b436 Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Wed, 19 Nov 2014 15:01:20 -0800 Subject: [PATCH] Fixed small-caps font-variant on docs popover titles. --- app/styles/play/level/tome/spell_palette_entry.sass | 1 + app/templates/play/level/tome/spell_palette_entry_popover.jade | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/styles/play/level/tome/spell_palette_entry.sass b/app/styles/play/level/tome/spell_palette_entry.sass index cb37378b5..b88b6bfb2 100644 --- a/app/styles/play/level/tome/spell_palette_entry.sass +++ b/app/styles/play/level/tome/spell_palette_entry.sass @@ -80,6 +80,7 @@ h1:not(.not-code), h2:not(.not-code), h3:not(.not-code), h4:not(.not-code), h5:not(.not-code), h6:not(.not-code) font-family: Menlo, Monaco, Consolas, "Courier New", monospace + font-variant: normal .popover-title background-color: transparent diff --git a/app/templates/play/level/tome/spell_palette_entry_popover.jade b/app/templates/play/level/tome/spell_palette_entry_popover.jade index c13df8394..bd10fc3dd 100644 --- a/app/templates/play/level/tome/spell_palette_entry_popover.jade +++ b/app/templates/play/level/tome/spell_palette_entry_popover.jade @@ -1,5 +1,5 @@ h4 - span= doc.shortName + span.prop-name= doc.shortName | - code.prop-type= doc.type == 'function' && doc.owner == 'this' ? 'method' : doc.type if doc.type != 'function'