Skip to content

Commit 3d012cf

Browse files
committed
Improve handling of oversized ad content
1 parent 371f00a commit 3d012cf

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

styles/all/theme/phpbbads.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
.phpbb-ads {
2+
overflow: hidden;
23
margin: 10px 0;
34
}
45

6+
.phpbb-ads img {
7+
max-width: 100%;
8+
height: auto;
9+
}
10+
11+
.phpbb-ads iframe,
12+
.phpbb-ads video {
13+
max-width: 100%;
14+
}
15+
516
.phpbb-ads-center {
617
text-align: center;
718
}

0 commit comments

Comments
 (0)