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(Slug): adjust callout width, fix revert story #15591

Merged
merged 2 commits into from Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -453,7 +453,10 @@
padding-inline-end: convert.to-rem(112px);
}

.#{$prefix}--number__input-wrapper--slug .#{$prefix}--number__control-btn {
.#{$prefix}--number__input-wrapper--slug
input[type='number']:not(:has(~ .#{$prefix}--slug--revert))
~ .#{$prefix}--number__controls
.#{$prefix}--number__control-btn {
border-block-end-color: $ai-border-strong;
}

Expand Down
8 changes: 1 addition & 7 deletions packages/styles/scss/components/slug/_slug.scss
Expand Up @@ -572,13 +572,7 @@ $sizes: (
}

.#{$prefix}--slug.#{$prefix}--slug--enabled
.#{$prefix}--slug-content--with-actions
.#{$prefix}--toggletip-content {
max-inline-size: convert.to-rem(334px);
}

.#{$prefix}--slug.#{$prefix}--slug--enabled
.#{$prefix}--slug-content:not(.#{$prefix}--slug-content--with-actions)
.#{$prefix}--slug-content
.#{$prefix}--toggletip-content {
max-inline-size: convert.to-rem(320px);
}
Expand Down