Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Really cleanup the content-wrapper #10421

Merged
merged 5 commits into from
Jul 30, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions core/css/apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -583,13 +583,6 @@ kbd {


/* CONTENT --------------------------------------------------------- */
#content-wrapper {
// everything not related to content but needs to be on the window
// goes here (popups, tooltips...)
position: relative;
min-height: 100%;
display: unset;
}
#content {
box-sizing: border-box;
position: relative;
Expand Down
6 changes: 2 additions & 4 deletions core/templates/layout.base.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
</head>
<body id="body-public">
<?php include 'layout.noscript.warning.php'; ?>
<div id="content-wrapper">
<div id="content" class="app-public" role="main">
<?php print_unescaped($_['content']); ?>
</div>
<div id="content" class="app-public" role="main">
<?php print_unescaped($_['content']); ?>
</div>
</body>
</html>
8 changes: 3 additions & 5 deletions core/templates/layout.public.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,9 @@
</div>
<?php } ?>
</header>
<div id="content-wrapper">
<div id="content" class="app-<?php p($_['appid']) ?>" role="main">
<?php print_unescaped($_['content']); ?>
</div>
</div
<div id="content" class="app-<?php p($_['appid']) ?>" role="main">
<?php print_unescaped($_['content']); ?>
</div>
<?php if($template->getFooterVisible()) { ?>
<footer>
<p class="info"><?php print_unescaped($theme->getLongFooter()); ?></p>
Expand Down
6 changes: 2 additions & 4 deletions core/templates/layout.user.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,8 @@
<input class="confirm" value="<?php p($l->t('Confirm')); ?>" type="submit">
</form>

<div id="content-wrapper">
<div id="content" class="app-<?php p($_['appid']) ?>" role="main">
<?php print_unescaped($_['content']); ?>
</div>
<div id="content" class="app-<?php p($_['appid']) ?>" role="main">
<?php print_unescaped($_['content']); ?>
</div>

</body>
Expand Down