[PR #2134] fix #2125 : add margin-block to 0 if is in stack #3094

Closed
opened 2026-01-29 18:21:53 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/2134

State: closed
Merged: Yes


In this pull request, I have added a CSS rule in the _typography.scss file to set margin-block: 0 for text elements located within a stack. This change aims to improve layout by removing the default vertical margins of text elements, allowing for better control over spacing in stacked components.

Changes Made:

  • File: _typography.scss
  • Addition:
    .rz-stack {
      .rz-text {
        margin-block: 0;
      }
    }
    
**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/2134 **State:** closed **Merged:** Yes --- In this pull request, I have added a CSS rule in the `_typography.scss` file to set `margin-block: 0` for text elements located within a stack. This change aims to improve layout by removing the default vertical margins of text elements, allowing for better control over spacing in stacked components. **Changes Made:** - **File:** `_typography.scss` - **Addition:** ```scss .rz-stack { .rz-text { margin-block: 0; } } ```
claunia added the pull-request label 2026-01-29 18:21:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#3094