fix site dialog css

This commit is contained in:
rolux 2013-03-08 15:04:14 +05:30
parent 8c8ae16019
commit 3fb6a91507
2 changed files with 7 additions and 3 deletions

View file

@ -13,8 +13,10 @@ pandora.ui.siteDialog = function(section) {
var $tabPanel = Ox.TabPanel({
content: function(id) {
var $content = Ox.Element()
.addClass('OxTextPage')
.css({padding: '16px', overflowY: 'auto'});
if (id != 'contact') {
$content.addClass('OxTextPage');
}
if (id == 'contact') {
pandora.$ui.contactForm = pandora.ui.contactForm().appendTo($content);
} else if (id == 'news') {
@ -70,7 +72,7 @@ pandora.ui.siteDialog = function(section) {
.appendTo($content);
if (id == 'rights') {
$right = $('<div>')
.css({position: 'absolute', top: '16px', right: '16px', width: '128px'})
.css({position: 'absolute', top: '16px', right: '16px', width: '128px', lineHeight: 'normal'})
.appendTo($content);
$('<img>')
.attr({src: '/static/png/rights.png'})

View file

@ -13,8 +13,10 @@ pandora.ui.siteDialog = function(section) {
var $tabPanel = Ox.TabPanel({
content: function(id) {
var $content = Ox.Element()
.addClass('OxTextPage')
.css({padding: '16px', overflowY: 'auto'});
if (id != 'contact') {
$content.addClass('OxTextPage');
}
if (id == 'contact') {
pandora.$ui.contactForm = pandora.ui.contactForm().appendTo($content);
} else if (id == 'news') {