Complete overhaul of code structure and relevant files (#639)
This commit is contained in:
10
src/Disp/Initialization/UpdateBuildingUpgradeStyle.js
Normal file
10
src/Disp/Initialization/UpdateBuildingUpgradeStyle.js
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* This function updates the style of the building and upgrade sections to make these sortable
|
||||
*/
|
||||
export default function UpdateBuildingUpgradeStyle() {
|
||||
l('products').style.display = 'grid';
|
||||
l('storeBulk').style.gridRow = '1/1';
|
||||
|
||||
l('upgrades').style.display = 'flex';
|
||||
l('upgrades').style['flex-wrap'] = 'wrap';
|
||||
}
|
||||
Reference in New Issue
Block a user