mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
variable size for style as requested
This commit is contained in:
parent
9300e624ab
commit
4ab6cf3ddd
2 changed files with 4 additions and 5 deletions
|
|
@ -188,7 +188,6 @@ t,
|
|||
|
||||
.regimentImage {
|
||||
object-fit: contain;
|
||||
width: 6px !important;
|
||||
}
|
||||
|
||||
#statesHalo {
|
||||
|
|
|
|||
|
|
@ -59,8 +59,8 @@ const drawRegiments = function (regiments, s) {
|
|||
.attr("class", "regimentImage")
|
||||
.attr("x", d => x(d) - h)
|
||||
.attr("y", d => y(d))
|
||||
.attr("height", '6')
|
||||
.attr("width", '6')
|
||||
.attr("height", h)
|
||||
.attr("width", h)
|
||||
.text(d => d.image);
|
||||
};
|
||||
|
||||
|
|
@ -107,8 +107,8 @@ const drawRegiment = function (reg, stateId) {
|
|||
.attr("class", "regimentImage")
|
||||
.attr("x", x1 - h)
|
||||
.attr("y", y1)
|
||||
.attr("height", '6')
|
||||
.attr("width", '6')
|
||||
.attr("height", h)
|
||||
.attr("width", h)
|
||||
.text(reg.image);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue