fix site dialog css
This commit is contained in:
parent
8c8ae16019
commit
3fb6a91507
2 changed files with 7 additions and 3 deletions
|
@ -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'})
|
||||
|
|
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue