Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: primevue, fix style for primevue message for version v3.36+ #145

Merged
merged 11 commits into from
Jan 5, 2024
Merged
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