Is there a valid way of making the editor pane (umb-overlay) wider/larger?
Would be nice if it has a wider size, but less the size of the doctype/pane with the Stacked Content picker on it.
I just want to 'override' the size of the pane of an Stacked Content editor, not all the overlays
I'd love the Stacked Content overlay width to be configurable, but requires some time & research to figure it out, (aka it's on my ever growing to-do list) ;-)
I second the configurable width idea - that would be amazing.
Is there a github feature request / issue for this already, or a roadmap of upcoming features we could look at to see when interesting updates of this kind may be released?
We don't have any plans to add a configurable width option to the data-type itself, we did add a feature to v2.0.3 which adds extra CSS classes to the overlay modal.
This means that you'd still need to add your own custom CSS rules, but it gives you control over having varying widths for different doctype/property aliases.
Just switched over from Doc Type Grid editor to Stacked Content and thought I would share a complete example of our SCSS.. Kind of quick and dirty, didn't bother with any variables.
Show buttons when you hover anywhere over a stacked item, not just the button hot zones
Matched the purple buttons more closely to the add/paste buttons.
Some padding/margin so we could separate the blocks more clearly.
Bottom most buttons are visible all the time, and are a bit larger than the buttons inside actual stacked items
Flyout Panel 800px - thanks :) good addition
We're using umbracoNaviHide here, so we can disable stacked items. Styles are in there, but you will need to modify your Preview version of CSHTML to have something like
< div class="@(!Model.IsVisible() ? "stack-disabled" : "" )">
@Html.Raw(html)
< /div>
(sorry editor is failing hard)
Our updated Stacked Content UI now looks like this (you can hover anywhere on the panel to get the buttons) -
Change width of editor pane / overlay
Hi,
Is there a valid way of making the editor pane (umb-overlay) wider/larger? Would be nice if it has a wider size, but less the size of the doctype/pane with the Stacked Content picker on it.
I just want to 'override' the size of the pane of an Stacked Content editor, not all the overlays
Hi Robbie,
You could try using a custom CSS rule?
If you want to know about how to add this in the back-office, take a look at an article that Matt Brailsford wrote for 24days: https://24days.in/umbraco-cms/2015/umbraco-7-back-office-tweaks/
I'd love the Stacked Content overlay width to be configurable, but requires some time & research to figure it out, (aka it's on my ever growing to-do list) ;-)
Cheers,
- Lee
Hi,
A configurable width would be nice :-)
for know I used:
.stacked-content .umb-overlay-right { width: 800px; }
I second the configurable width idea - that would be amazing.
Is there a github feature request / issue for this already, or a roadmap of upcoming features we could look at to see when interesting updates of this kind may be released?
We don't have any plans to add a configurable width option to the data-type itself, we did add a feature to v2.0.3 which adds extra CSS classes to the overlay modal.
See here for further details: https://github.com/umco/umbraco-stacked-content/issues/61
This means that you'd still need to add your own custom CSS rules, but it gives you control over having varying widths for different doctype/property aliases.
Hope this helps?
Cheers,
- Lee
Thanks Lee - this is actually very useful, appreciate it!
Just switched over from Doc Type Grid editor to Stacked Content and thought I would share a complete example of our SCSS.. Kind of quick and dirty, didn't bother with any variables.
We're using umbracoNaviHide here, so we can disable stacked items. Styles are in there, but you will need to modify your Preview version of CSHTML to have something like
< div class="@(!Model.IsVisible() ? "stack-disabled" : "" )">
< /div> (sorry editor is failing hard)
Our updated Stacked Content UI now looks like this (you can hover anywhere on the panel to get the buttons) -
And the SCSS
Minified CSS
/App_Plugins/StackedContent/package.manifest
Hope that helps anyone coming in cold :) Cheers
is working on a reply...