Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #211 from magento-webdev/PR-4
[WebDev] Bugfixes
- Loading branch information
Showing
11 changed files
with
127 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
app/design/frontend/Magento/luma/Magento_AdvancedSearch/web/css/source/_module.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// /** | ||
// * Copyright © 2015 Magento. All rights reserved. | ||
// * See COPYING.txt for license details. | ||
// */ | ||
|
||
// | ||
// Advanced Search | ||
// _____________________________________________ | ||
|
||
// This part of code fixes the gap between page title and error message | ||
// In Luma on Mobile screens we have top padding on '.column' to give room for absolutely positioned toolbar controls. | ||
// If Advanced Search returns no results, controls do not appear, and visual gap appears. | ||
// We compensate it with negative top margin applied to '.message.error' on Mobile screens. | ||
|
||
// | ||
// Common | ||
// _____________________________________________ | ||
|
||
& when (@media-common = true) { | ||
.catalogsearch-advanced-result { | ||
.message { | ||
&.error { | ||
margin-top: -60px; | ||
} | ||
} | ||
} | ||
} | ||
|
||
// | ||
// Desktop | ||
// _____________________________________________ | ||
|
||
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) { | ||
.catalogsearch-advanced-result { | ||
.message { | ||
&.error { | ||
margin-top: 0; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters