Skip to content
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Search: fix dashboard hero section being crushed under shared admin page layout mixin.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ $color-text-lighter: variables.$studio-gray-50;
/* Mocked Search Container */
.jp-mocked-instant-search {
background: $color-modal-background;
border-radius: 3px;
border-radius: 3px 3px 0 0;
margin: 0 auto;
width: 100%;
height: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@

.jp-search-dashboard-top {
background-color: #f9f9f6;

overflow: hidden;
// Clip only the bottom edge so the mocked-search box-shadow doesn't
// bleed into the next section, while leaving the shadow visible on
// the other sides. Avoids `overflow: hidden` here because the mixin
// in @automattic/jetpack-base-styles/admin-page-layout makes this a
// flex item; `overflow != visible` would resolve `min-height: auto`
// to 0 and let the section get crushed.
clip-path: inset(-100px -100px 0 -100px);
}

.jp-search-dashboard-top__title {
Expand Down
Loading