Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

No spacing between tags #7548

Closed
4 tasks done
yves-chevallier opened this issue Sep 22, 2024 · 3 comments
Closed
4 tasks done

No spacing between tags #7548

yves-chevallier opened this issue Sep 22, 2024 · 3 comments
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open

Comments

@yves-chevallier
Copy link

Context

When using both tags and search plugins, the tags in the search bars are sticking to each others without proper spacing. I guess it can be fixed with the following:

.md-typeset .md-tag {
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}

Bug description

In this example I have few tags. We notice both horizontally and vertically there is no margin:

image

Related links

https://squidfunk.github.io/mkdocs-material/setup/setting-up-tags/

Reproduction

It happens with the latest insiders version

[tool.poetry]
name = "mkdocs-material-sandbox"
version = "0.1.0"
description = ""
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.12"
mkdocs = "^1.6.1"
mkdocs-material = { git = "git@github.com:heig-tin-info/mkdocs-material-insiders.git" }

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
site_name: My Docs
theme:
  name: material
plugins:
  - tags
  - search
---
tags:
  - HTML5
  - JavaScript
  - CSS3
  - Web Development
  - Web Design
  - Web
  - Development
  - Design
  - Frontend
  - Front-end
  - Back to the Future
  - Marty McFly
---

# Welcome to MkDocs

Steps to reproduce

Run mkdocs materials with few tags...

Browser

No response

Before submitting

@squidfunk
Copy link
Owner

Thanks for reporting. Fixed in 06fe18a. This is a regression of a tags refactoring we did some time ago. It also appeared in the community edition and is not exclusive to Insiders.

@squidfunk squidfunk added bug Issue reports a bug resolved Issue is resolved, yet unreleased if open labels Sep 22, 2024
@yves-chevallier
Copy link
Author

Your response time on this is nothing short of legendary. It's like you hot-patched it before the exception was even thrown—on a Sunday, no less. Super impressive!

@squidfunk
Copy link
Owner

Released as part of 9.5.37.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open
Projects
None yet
Development

No branches or pull requests

2 participants