Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

No margin bottom for buttons in content with the WP editor

Abierto
#3,950 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
css, php, wordpress
Área
frontend, web-dev

Línea de trabajo

Reproduce el problema en WordPress usando un bloque Button y un bloque Otter Buttons Group, y compara después el espaciado resultante con Twenty Twenty-One. Identifica los estilos del tema responsables del espaciado de los bloques de contenido; se considera terminado cuando los botones tienen un margen adecuado al estar rodeados de otro contenido, sin requerir un control de margen independiente.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

question
Description

A user mentioned on the forum that Neve doesn't add any margin to the buttons in the page content and that Gutenberg blocks should have a margin. I need help here as I don't know if it's a guideline in this regard or not.

What I did is to use the button block from WP and the buttons group block from Otter, and none of the allows the user to set a margin for the buttons. Compared to Neve, the Twenty Twenty-One theme seems to add margin to all the blockw within the page content with the * CSS selector.

Neve

neve-margin

Twenty Twenty-One

twentyone-margin

Step-by-step reproduction instructions
  1. Add a button from WordPress
  2. Add some content above and below it, like text
  3. Try adding some margin around the buttons - there is no such option; I didn't find it in the Otter Buttons Group block either.
Screenshots, screen recording, code snippet or Help Scout ticket

https://wordpress.org/support/topic/wp-block-button__link-should-have-margin/

Environment info

Not relevant for this case

Is the issue you are reporting a regression

No

Lenguaje dominante
PHP
Estrellas
307
Forks
88
Merge medio
1 d 19 h
PR fusionados (30 d)
17

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Codeinwp/neve

Todos los issues de Codeinwp/neve

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.