Skip to content

Conversation

@sazedul-haque
Copy link
Collaborator

No description provided.

@sazedul-haque sazedul-haque added the 4.0.0 Tutor v4.w0w label Jan 20, 2026
border-radius: $tutor-radius-sm;
min-height: 48px;

.tutor-alert-content {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use scss nesting &-

Suggested change
.tutor-alert-content {
&-content {

gap: $tutor-spacing-3;
}

.tutor-alert-icon {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.tutor-alert-icon {
&-icon {

}
}

.tutor-alert-text {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.tutor-alert-text {
&-text {

@include tutor-typography('tiny', 'regular', 'secondary');
}

.tutor-alert-action {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.tutor-alert-action {
&-action {

flex-shrink: 0;
}

&.tutor-alert-default {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try to keep the variant CSS structure the same. Use the same structure as _toast.scss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0.0 Tutor v4.w0w

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants