Skip to content

Commit

Permalink
fix: primevue, fix style for primevue message for version v3.36+ (#145)
Browse files Browse the repository at this point in the history
* fix: adjust the style to support the latest primevue version v3.36.0

* fix: fix the primevue message style and confirmation button to suppoet the latest v3.36.0

* fix: fix the primevue button on focus event white space

* fix: fix primevue dialog footer border

* fix(primevue): update tab style to work in latest primevue version v3.45.0

* fix(primevue): fix primevue message for new primevue version

* fix primevue message style

* fix(primevue): fix style for breadcrumb to support newer primevue version
  • Loading branch information
MCatherine1994 authored Jan 5, 2024
1 parent 26d72a5 commit 79afe76
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions style-sheets/primevue-components-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -845,13 +845,6 @@ 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 @@ -876,10 +869,11 @@ label {
flex-shrink: 0;
}

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

.#{variables.$primevue-prefix}-message-wrapper
Expand All @@ -896,6 +890,12 @@ label {
align-self: baseline !important;
}

.#{variables.$primevue-prefix}-message-close.#{variables.$primevue-prefix}-link {
margin-left: auto;
overflow: hidden;
position: relative;
}

.#{variables.$primevue-prefix}-message
.#{variables.$primevue-prefix}-message-close:hover {
background: none;
Expand Down Expand Up @@ -1024,6 +1024,12 @@ label {
display: none;
}

.#{variables.$primevue-prefix}-breadcrumb
.#{variables.$primevue-prefix}-breadcrumb-list {
padding: 0;
margin: 0;
}

.#{variables.$primevue-prefix}-breadcrumb
.#{variables.$primevue-prefix}-breadcrumb-list
.#{variables.$primevue-prefix}-menuitem {
Expand All @@ -1037,6 +1043,7 @@ label {
.#{variables.$primevue-prefix}-menuitem-link {
padding: 0.2rem;
border-radius: 0;
text-decoration: none;
}

.#{variables.$primevue-prefix}-breadcrumb
Expand Down Expand Up @@ -1178,7 +1185,7 @@ label {
border-top: 0.125rem solid transparent;
border-bottom: 0.0625rem solid transparent;
text-decoration: none;
color: map.get(lightTheme.$light-theme, 'text-primary')
color: map.get(lightTheme.$light-theme, 'text-primary');
}

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

0 comments on commit 79afe76

Please sign in to comment.