Modèle:ButtonGrid/styles.css
De Nefald
Autres actions
/* Conteneur: pleine largeur + en ligne */
.minicardv2-container{
display:flex !important;
flex-direction:row !important;
flex-wrap:nowrap !important;
align-items:stretch;
gap:.6rem;
width:100% !important;
padding:.4rem 0;
margin:0;
background:transparent;
border:0;
overflow-x:auto;
overflow-y:hidden;
box-sizing:border-box;
}
/* Empêche les wrappers <p> de casser la ligne */
.minicardv2-container > p{
margin:0 !important;
padding:0 !important;
background:transparent;
border:0;
/* on ne peut pas utiliser display:contents -> on force inline */
display:inline !important;
}
/* Retire les <br> générés par les retours ligne */
.minicardv2-container br{
display:none !important;
}
/* Les tuiles : on cible tous les liens (certain skins n'ont pas .external) */
.minicardv2-container a{
display:inline-flex !important;
align-items:center;
justify-content:center;
gap:.5rem;
flex:1 1 0 !important;
min-width:120px;
padding:.55rem .8rem;
border-radius:12px;
font-weight:600;
text-decoration:none !important;
white-space:nowrap;
background-color:#111;
color:#fff;
background-image:none !important;
}
/* Icône */
.minicardv2-container a img{
width:18px;
height:18px;
}