Where is the best place to put other css files, such as bootstrap.css etc? How does one make the custom widget refer to these stylesheets?
Putting them anywhere in the WAB folder and then doctoring the \client\stemapp\init.js by adding references in the resources object works, but feels like a hack.
resources = resources.concat([
window.apiUrl + 'dojo/resources/dojo.css',
window.apiUrl + 'dijit/themes/claro/claro.css',
window.apiUrl + 'esri/css/esri.css',
window.apiUrl + 'dojox/layout/resources/ResizeHandle.css',
window.path + 'jimu.js/css/jimu.css',
window.path + 'libs/jquery-2.1.1.min.js
]);
Does anyone have a more elegant solution?
Solved! Go to Solution.
Looks like the auto does not want to work but I put a fixed size of 7em and the !important made it override the dgrid.css.. Still not sure why auto size would not work as its listed for css as an option.