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

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

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/2134
Author: @quintushr
Created: 4/28/2025
Status: Merged
Merged: 4/29/2025
Merged by: @yordanov

Base: v7Head: v7


📝 Commits (1)

  • f5ae0a3 Feat: add margin to 0 if is in stack

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 Radzen.Blazor/themes/components/blazor/_typography.scss (+5 -0)

📄 Description

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;
      }
    }
    

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/2134 **Author:** [@quintushr](https://github.com/quintushr) **Created:** 4/28/2025 **Status:** ✅ Merged **Merged:** 4/29/2025 **Merged by:** [@yordanov](https://github.com/yordanov) **Base:** `v7` ← **Head:** `v7` --- ### 📝 Commits (1) - [`f5ae0a3`](https://github.com/radzenhq/radzen-blazor/commit/f5ae0a3924cde104347098748fcbc45751ad7d2e) Feat: add margin to 0 if is in stack ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/themes/components/blazor/_typography.scss` (+5 -0) </details> ### 📄 Description 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; } } ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#3092