Skip to content

Commit

Permalink
Merge pull request #1049 from Financial-Times/CON-3426-fix-ask-ft-pad…
Browse files Browse the repository at this point in the history
…ding

CON-3426: fix padding on ask to ft in header
  • Loading branch information
danieleruiz authored Jul 11, 2024
2 parents a2e80cc + 41e9cf9 commit 32fec96
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/dotcom-ui-header/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"peerDependencies": {
"@financial-times/logo-images": "^1.10.1",
"@financial-times/o-header": "13.0.1",
"@financial-times/o-header": "13.0.3",
"n-ui-foundations": "^9.0.0 || ^10.0.0",
"react": "17.x || 18.x",
"react-dom": "17.x || 18.x"
Expand Down
4 changes: 3 additions & 1 deletion packages/dotcom-ui-header/src/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
.o-header__drawer-search-term {
width: 100%;
}

.o-header__top-wrapper .ft-header__ask-ft-button {
padding: 8px;
}
.ft-header__ask-ft-button {
@include oTypographySans(-1, $weight: 'semibold');
color: oColorsByName('ft-grey');
Expand Down
6 changes: 2 additions & 4 deletions packages/dotcom-ui-header/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ $system-code: 'page-kit-header' !default;

@import "n-topic-search/main";
@include nTopicSearch;
.n-topic-search {
@include oGridRespondTo($from: 'M') {
margin: 24px 0 0;
}
.o-header__search--primary .n-topic-search, .o-header__search--sticky .n-topic-search {
margin: 24px 0 0;
}

0 comments on commit 32fec96

Please sign in to comment.