Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/bcgov/nr-theme into fix/sty…
Browse files Browse the repository at this point in the history
…le-adjust-for-lastet-primevue-3.36.0
  • Loading branch information
MCatherine1994 committed Jan 4, 2024
2 parents ae4a489 + 26d72a5 commit 09c5e25
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 10 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [1.8.1](https://github.com/bcgov/nr-theme/compare/v1.8.0...v1.8.1) (2024-01-04)


### Bug Fixes

* adjust the style to support the latest primevue version v3.36+ ([#111](https://github.com/bcgov/nr-theme/issues/111)) ([e5bf0f0](https://github.com/bcgov/nr-theme/commit/e5bf0f00ef67a83b4d8f4ec7aea65b92bfc2f6b3))

## [1.8.0](https://github.com/bcgov/nr-theme/compare/v1.7.1...v1.8.0) (2023-12-15)


Expand Down
26 changes: 16 additions & 10 deletions style-sheets/primevue-components-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -845,6 +845,13 @@ label {
right: 0;
}

.#{variables.$primevue-prefix}-message
.#{variables.$primevue-prefix}-message-wrapper {
display: flex;
align-items: baseline;
padding: 0.5rem 0.5rem 0.5rem 0;
}

.#{variables.$primevue-prefix}-message
.#{variables.$primevue-prefix}-message-text {
@extend %body-compact-01;
Expand All @@ -869,25 +876,24 @@ label {
flex-shrink: 0;
}

.#{variables.$primevue-prefix}-message
.#{variables.$primevue-prefix}-message-wrapper {
display: flex;
align-items: baseline;
padding: 0 0.5rem 0 0;
.#{variables.$primevue-prefix}-message-close.#{variables.$primevue-prefix}-link {
margin-left: auto;
overflow: hidden;
position: relative;
}

.#{variables.$primevue-prefix}-message-wrapper
.#{variables.$primevue-prefix}-message-close {
align-self: flex-start;
margin-top: 0.5rem;
align-self: flex-start;
margin-top: 0.5rem;
}

.#{variables.$primevue-prefix}-message-wrapper
.#{variables.$primevue-prefix}-message-close
svg {
color: colors.$gray-100 !important;
margin: 0.55rem 0 0;
align-self: baseline !important;
color: colors.$gray-100 !important;
margin: 0.55rem 0 0;
align-self: baseline !important;
}

.#{variables.$primevue-prefix}-message-close.#{variables.$primevue-prefix}-link {
Expand Down

0 comments on commit 09c5e25

Please sign in to comment.