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

INTERIM-178 Adjust padding on the top and bottom full Mega Panels panes #187

Merged
merged 1 commit into from
Dec 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
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
14 changes: 14 additions & 0 deletions css/suitcase.css
Original file line number Diff line number Diff line change
Expand Up @@ -1701,6 +1701,20 @@ ul.tabs.secondary img {
margin-bottom: 1rem;
}

.megapanels-wrapper_full_top,
.megapanels-wrapper_full_bottom {
margin-right: 0.5rem;
margin-left: 0.5rem;
}

@media (max-width: 740px) {
.megapanels-wrapper_full_top,
.megapanels-wrapper_full_bottom {
margin-right: 2rem;
margin-left: 2rem;
}
}

@media (min-width: 1141px) {

.megapanels-pane:first-child:nth-last-child(4),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
</div>

<?php if (!empty($content['bottom_full'])): ?>
<div class="megapanels_wrapper">
<div class="megapanels_wrapper megapanels-wrapper_full_top">
<div class="megapanels-full megapanels-full_bottom">
<div class="megapanels-pane_full">
<?php print $content['bottom_full']; ?>
Expand Down