Would the l0rdn1kk0n / wicket-bootstrap community have dealt with this issue already or do they not support Wicket/Bootstrap modal windows in 'responsive' mode?
Regards, Chris >-----Original Message----- >From: Martin Grigorov [mailto:[email protected]] >Sent: Tuesday, 18 February 2014 6:32 PM >To: [email protected] >Subject: Re: Wicket Modals and Bootstrap Modals - sizing issues > >Hi, > >I think you will need to tweak some CSS rules. >Wicket's ModalWindow main CSS class is 'wicket-modal'. So you have to >provide CSS rule that sets the width for any .form-control in .wicket- >modal. >You can either use LESS/SASS to generate different rules for the different >screens or with CSS media queries. > >Martin Grigorov >Wicket Training and Consulting > > >On Tue, Feb 18, 2014 at 8:04 AM, Chris Colman ><[email protected]>wrote: > >> We are using Wicket with Bootstrap which is fine except for modal >> window. >> >> With Wicket it appears as though the modal window provides all the >> markup for the out modal 'window'. We can provide HTML for the panels >> within that but the outer modal seems to be Wicket generated. >> >> This seems to be causing problems when using responsive Bootstrap >> because the calculations of the grid sizes are based on the screen and >> not the width of the modal window and so the form fields end up being >> wider than the form itself. >> >> Has anyone else had this problem? Is there a work around? >> >> We're not using the Wicket 'enable bootstrap' flag in the settings as we >> support bootstrap and non bootstrap markup within the same wicket app. >> >> Regards, >> Chris >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
