From 0a999bc4f3bf85f4ac377f1d9ca21471013106f0 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 15 Apr 2012 20:15:14 +0200 Subject: [PATCH] update DocPage and ExamplePage --- source/Ox.UI/js/Code/Ox.DocPage.js | 5 +++-- source/Ox.UI/js/Code/Ox.ExamplePage.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/source/Ox.UI/js/Code/Ox.DocPage.js b/source/Ox.UI/js/Code/Ox.DocPage.js index 50c1a0b9..69dc1cf9 100644 --- a/source/Ox.UI/js/Code/Ox.DocPage.js +++ b/source/Ox.UI/js/Code/Ox.DocPage.js @@ -26,9 +26,10 @@ Ox.DocPage = function(options, self) { self.$title = Ox.Label({ style: 'square', - title: 'Documentation: ' + self.options.item.name + title: self.options.item.name }) - .css({float: 'left', margin: '4px'}) + .addClass('OxMonospace') + .css({float: 'left', height: '13px', paddingTop: '1px', margin: '4px'}) .appendTo(self.$toolbar) self.$examplesMenu = Ox.MenuButton({ diff --git a/source/Ox.UI/js/Code/Ox.ExamplePage.js b/source/Ox.UI/js/Code/Ox.ExamplePage.js index 36743707..244def6b 100644 --- a/source/Ox.UI/js/Code/Ox.ExamplePage.js +++ b/source/Ox.UI/js/Code/Ox.ExamplePage.js @@ -18,7 +18,7 @@ Ox.ExamplePage = function(options, self) { self.$title = Ox.Label({ style: 'square', - title: 'Examples: ' + self.options.title + title: self.options.title }) .css({float: 'left', margin: '4px'}) .appendTo(self.$toolbar)