as i can test changing bootstrap grid for dashboard module doesn't works :
1 edit quickicon module
2 set bootstrap size to 12
module need to display in full width
=> no change module is display in 1/2
Labels |
Added:
?
|
Labels |
Added:
?
|
Status | New | ⇒ | Discussion |
thanks
for me its important to correct this because it will break all admin module ! impossible to create a full width dashboard (virtuemart hikashop, custom dashboard)
Also it needs 4 BS classes for the different breakpoints and not only one, or not?
i realy think we need to add possibility to have width module for dashboard .. maybe need to add grid class ?
Agree, the module class suffix can't be used for the grid. Just tested it...
sorry i don't understand i need to test someting ?
@C-Lodder and @ciar4n - can you help on this issue? What needs to be changed exactly? We have grid-template-columns: 1fr 1fr; for the card-columns, does that have to be changed to a more generic columns like 12 x 1fr or so? Do we need breakpoint parameters in the modules? I can create a PR but I don't know what has to be done to solve it.
@coolcat-creations @ciar4n @C-Lodder @angieradtke
for me 2 solutions
Sorry i will try to bump more person @brianteeman ?
Lol @brianteeman i try to motived lead contributor... I know you cant solve all thing with your little hand
Hi
maybe this could help, just an idea
.card-columns {
grid-template-columns: repeat(auto-fit,minmax(max(calc(50% - 30px),250px),1fr));
}
All the best, stay healthy .-)
Angie
Cool angie ...I dont understand why bs class in module backend doesnt works ...
I think, here we are dealing width css-grid and bootstraps flexbox-grid. 2 techniques are mixed.
@georgewilson maybe ?
@angieradtke your code works but strange to need to override an existing function ??
@wilsonge any idea why the backend template can't use bs according module option ?
hello i test last version with BS5 no evolution please don't ignore it !
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-04-06 21:43:13 |
Closed_By | ⇒ | Quy |
thanks @infograf768 @Quy can you reopen this issue ?
Status | Closed | ⇒ | New |
Closed_Date | 2021-04-06 21:43:13 | ⇒ | |
Closed_By | Quy | ⇒ |
I guess this can be overriden for a specific component dashboard though.
Example: class="cpanel-modules cpanel-mycomponent"
.cpanel-mycomponent {
.card-columns {
grid-template-columns: 1fr;
}
}
That is the only way other than creating your own admin template
yes we can do this, but that realy dommage to kill an old beahvior (j3 heritage with cpanel in full width) to limit it in 2 columns only
team do an important work to add bs5 in admin but we can use it ...
@ciar4n @dgrammatiko no way to keep this ?
Someone could implement a design mode, similar to https://perfectgrid.io/demo and thus allow the modification of both the width and height. That said I must also note that the way things are handled in the com_cpanel (the API for the modules, etc) is at least naive and very unfriendly to devs, so, imho the com_cpanel needs way more refactoring than adding some widget for height and width for individual modules...
@dgrammatiko it can be powerfull but maybe to many works for a 4.0, if only allow to use width option according module option value we can easly create 1-2-3-4 columns
It's not that simple as the current dashboard is a masonry layout. The current js for that layout will not handle varied widths. As I see it there are 3 options...
Labels |
Added:
No Code Attached Yet
bug
Removed: ? |
Issue confirmed.