Skip to content

Conversation

@ahmetcelik05
Copy link
Contributor

@ahmetcelik05 ahmetcelik05 commented Oct 9, 2025

Description

Resolves vs-internal-issue-#7448

Checklist

  • I fully tested it as developer
  • no need to document

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR restructures the HTML markup for tag display in the CMS Kit to use a proper unordered list (<ul>) structure instead of loose elements. This provides better semantic HTML and improves accessibility for screen readers.

  • Wraps tags in a <ul> element with flexbox styling for layout
  • Encapsulates each tag in a <li> element with margin spacing
  • Maintains existing styling and functionality for both linked and non-linked tags

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@if (Model.Tags != null)
{
<ul class="d-flex flex-wrap">
@foreach (var tag in Model.Tags)
Copy link

Copilot AI Oct 9, 2025

Choose a reason for hiding this comment

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

Corrected spelling of 'standart' to 'standard' in PR title.

Copilot uses AI. Check for mistakes.
{
if (Model.UrlFormat.IsNullOrWhiteSpace())
{
<li class="me-1">
Copy link
Member

@enisn enisn Oct 9, 2025

Choose a reason for hiding this comment

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

Instead of manually adding margin in elements with me-1, I suggest using gap-1 in the .d-flex container

<ul class="d-flex flex-wrap gap-1">

@enisn enisn changed the title Use a standart structure for tags for CMS Kit Use a standard structure for tags for CMS Kit Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants