Skip to content

Commit

Permalink
fix: notification message primevue componente wrapping (#121)
Browse files Browse the repository at this point in the history
* breakpoint for notification message size < tablet

* fixed text wraping,

* removed notification msg breakpoint

* fixed spacing on msg notification
  • Loading branch information
J0taFerreira authored Nov 27, 2023
1 parent e31de69 commit e96337d
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions style-sheets/primevue-components-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -836,9 +836,9 @@ label {
.#{variables.$primevue-prefix}-message
.#{variables.$primevue-prefix}-message-text {
@extend %body-compact-01;
padding-left: 0.5rem;
padding-right: 0.3125rem;
position: absolute;
position: relative;
display: flex;
left: 0;
right: 0;
}
Expand All @@ -851,21 +851,31 @@ label {

.#{variables.$primevue-prefix}-message svg {
margin-right: 0.9375rem;
margin-left: 1rem;
margin-left: 0.2rem;
margin-bottom: 0.19rem;
vertical-align: middle;
flex-shrink: 0;
}

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

.#{variables.$primevue-prefix}-message-wrapper
.#{variables.$primevue-prefix}-message-close {
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;
color: colors.$gray-100 !important;
margin: 0.55rem 0 0;
align-self: baseline !important;
}

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

0 comments on commit e96337d

Please sign in to comment.