Skip to content

Commit 0fe3475

Browse files
committed
Place class name on logo block via system_block_view(), updated css.
1 parent 0d76498 commit 0fe3475

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

Diff for: drupalgap.css

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
/**
2-
* Styles for forms.
2+
* Logo
3+
*/
4+
.logo {
5+
text-align: center;
6+
}
7+
8+
/**
9+
* Forms
310
*/
411

512
div.form-item {
613
margin-bottom: 1em;
714
}
815

916
/**
10-
* Styles for system messages.
17+
* System Messages
1118
*/
1219

1320
div.messages {

Diff for: src/modules/system/system.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function system_block_view(delta) {
7676
break;
7777
case 'logo':
7878
if (drupalgap.settings.logo) {
79-
return '<div>' +
79+
return '<div class="logo">' +
8080
l(theme('image', {'path': drupalgap.settings.logo}), '') +
8181
'</div>';
8282
}

0 commit comments

Comments
 (0)