fix: 4 bugs post-review (JSON, rangMagie, GM guard, inline styles)
- Trailing comma dans fr.json qui cassait le parsing JSON (critique) - RANG_MAGICIEN utilisait val.name au lieu de val.label - Bouton tirage MJ accessible aux non-GM (ajout guard game.user.isGM) - style='flex:1' et style='display:none' externalisés dans roll.less
This commit is contained in:
+26
-4
@@ -229,10 +229,32 @@
|
||||
}
|
||||
}
|
||||
|
||||
.difficulty-select {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding: 0.25rem;
|
||||
.difficulty-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
|
||||
.difficulty-select-input {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.draw-difficulty-btn {
|
||||
padding: 4px 10px;
|
||||
background: #2a2a4a;
|
||||
color: #e0e0e0;
|
||||
border: 1px solid #555;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
&:hover { background: #3a3a6a; border-color: #e94560; }
|
||||
}
|
||||
}
|
||||
|
||||
.drawn-card-info {
|
||||
margin-top: 4px;
|
||||
font-size: 12px;
|
||||
color: #e94560;
|
||||
font-style: italic;
|
||||
&#drawn-card-info { display: none; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user