Skip to content

Commit 942cb53

Browse files
committed
Fix container margin
1 parent 80e4ad1 commit 942cb53

26 files changed

+31
-31
lines changed

src/templates/Comment/Delete.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if ($c)
2626
}
2727
$id = $this->getContext()->id;
2828
require('./header.inc.phtml'); ?>
29-
<div class="container mb-3">
29+
<div class="container">
3030
<? if (is_null($this->getContext()->error)) { ?>
3131

3232
<h2 class="text-danger">Delete Comment</h2>

src/templates/Comment/Edit.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if ($c)
2828
$c_user_avatar = $c_user->getAvatarURI(22);
2929
}
3030
require('./header.inc.phtml'); ?>
31-
<div class="container mb-3">
31+
<div class="container">
3232
<? if (is_null($this->getContext()->error) && !is_null($c)) { ?>
3333

3434
<h2>Edit Comment</h2>

src/templates/Credits.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $top_contributors_by_servers = $this->getContext()->top_contributors_by_servers;
1414
$users = []; // used for User object lookup cache
1515
require('./header.inc.phtml');
1616
?>
17-
<div class="container mb-3">
17+
<div class="container">
1818
<h2>Contributors</h2>
1919
<p>We have a total of <strong><?=number_format($total_users)?> users</strong>, of which the following are our top contributors grouped by content.</p>
2020

src/templates/Discord.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $description = 'Join our Discord and have a chat with us!';
77
$this->opengraph->attach(new Pair('url', '/discord'));
88
$this->opengraph->attach(new Pair('type', 'article'));
99
require('./header.inc.phtml'); ?>
10-
<div class="container mb-3">
10+
<div class="container">
1111
<h2><?=$title?></h2>
1212
<p><?=$description?></p>
1313
<? if (!$this->getContext()->enabled) { ?>

src/templates/Document/Create.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $form_content = filter_var($this->getContext()->content, FILTER_SANITIZE_FULL_SP
2121
$form_markdown = $this->getContext()->markdown;
2222
$form_title = filter_var($this->getContext()->title, FILTER_SANITIZE_FULL_SPECIAL_CHARS);
2323
require('./header.inc.phtml'); ?>
24-
<div class="container mb-3">
24+
<div class="container">
2525
<h1><?=$title?></h1>
2626
<p><?=$description?></p>
2727
<? if ($error !== false) {

src/templates/Document/Delete.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ switch ($error)
1717
default: $message = $error;
1818
}
1919
require('./header.inc.phtml'); ?>
20-
<div class="container mb-3">
20+
<div class="container">
2121
<? if (is_null($this->getContext()->error)) { ?>
2222
<h1 class="text-danger">Delete Document</h1>
2323
<form method="POST" action="?id=<?=filter_var($id, FILTER_SANITIZE_FULL_SPECIAL_CHARS)?>">

src/templates/Document/Edit.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $form_content = filter_var($this->getContext()->content, FILTER_SANITIZE_FULL_SP
2424
$form_markdown = $this->getContext()->markdown;
2525
$form_title = filter_var($this->getContext()->title, FILTER_SANITIZE_FULL_SPECIAL_CHARS);
2626
require('./header.inc.phtml'); ?>
27-
<div class="container mb-3">
27+
<div class="container">
2828
<h1><?=$title?></h1>
2929
<p><?=$description?></p>
3030
<? if (is_null($error) || $error == 'NOT_FOUND') {

src/templates/Document/Index.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $form_order_by = [
2121
'user-id-desc' => 'User Id (Descending)',
2222
];
2323
require('./header.inc.phtml'); ?>
24-
<div class="container mb-3">
24+
<div class="container">
2525
<h2><?=$title?></h2>
2626
<p><?=$description?></p>
2727
<form method="GET" class="m-2" id="order_by_form">

src/templates/Document/View.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $edit_visible = ($active_user && ($active_user->getOptionsBitmask() & User::OPTI
2929
$delete_visible = ($active_user && ($active_user->getOptionsBitmask() & User::OPTION_ACL_DOCUMENT_DELETE));
3030
require_once('./MarkdownBootstrapFix.inc.php');
3131
require('./header.inc.phtml'); ?>
32-
<div class="container mb-3">
32+
<div class="container">
3333
<? if ($object) {
3434
if ($draft) { ?>
3535
<div class="alert alert-warning">This document is marked as <strong>draft</strong>. Edit the document to <strong>publish</strong> it.</div>
@@ -43,7 +43,7 @@ require('./header.inc.phtml'); ?>
4343
<? } ?>
4444

4545
<h1 class="display-4"><a href="<?=$url?>"><?=filter_var($title, FILTER_SANITIZE_FULL_SPECIAL_CHARS)?></a></h1>
46-
<?=\BNETDocs\Templates\MarkdownBootstrapFix($object->getContent(true))?>
46+
<?=\BNETDocs\Templates\MarkdownBootstrapFix($object->getContent(true), true)?>
4747

4848
<div class="card"><div class="card-body">
4949
<span class="float-right text-muted">

src/templates/Donate.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if (!empty($user_id))
1616
$user = new User($user_id);
1717
}
1818
require('./header.inc.phtml'); ?>
19-
<div class="container mb-3">
19+
<div class="container">
2020
<h1>Support Us</h1>
2121
<p>The following are the methods available for supporting us:</p>
2222
<ul type="circle">

0 commit comments

Comments
 (0)