Skip to content

Commit

Permalink
Remove right and left margin from plain picture component
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Jan 28, 2025
1 parent b522365 commit 97b68fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Cookie library settings can now be set at a document level in the `<html>` element rather than at a cookie banner level - in addition to `data-tna-cookies-domain` and `data-tna-cookies-path` parameters, there is now `tna-cookies-policies-key`, `tna-cookies-default-age` and `tna-cookies-insecure`
- Removed right and left margin from plain picture components

### Deprecated
### Removed
Expand Down
16 changes: 0 additions & 16 deletions src/nationalarchives/components/picture/picture.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
@include colour.contrast;

padding: spacing.space(1.5);

// @include a11y.no-focus-outline-on-click;
}

&__caption {
Expand All @@ -62,20 +60,6 @@
box-shadow: none;
}

@include media.on-larger-than-mobile {
&--plain {
margin-right: spacing.space(2);
margin-left: spacing.space(2);
}
}

@include media.on-small {
&--plain {
margin-right: spacing.space(1);
margin-left: spacing.space(1);
}
}

@include media.on-tiny {
&__image-wrapper {
padding: 0;
Expand Down

0 comments on commit 97b68fa

Please sign in to comment.