[QUESTION] Vertical panel buttons
Question
Hi, I am trying to add vertical buttons in a panel. I have added a flexbox with a vertical direction, but since an additional div is added as an interim to the buttons, it does not affect them. Is there a way to solve this?
I have added the following code that does not appear to work ():
#files-container {
padding: 0;
height: 100%;
width: 70px;
display: flex;
flex-flow: column wrap;
}
<div id="files-container"></div>
panels: {
defaults: [ {
id: 'files-picker',
el: '#files-container',
buttons: [{
id: 'layer-picker',
label: '<img src="assets/layers.svg">'
},{
id: 'file-picker',
label: '<img src="assets/files.svg">'
}]
}
]}
Answers (2)
@shlomoko sorry but I close this issue, has nothing to do with grapesjs itself, it's just about your UI layout setting
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1886
How to create Drop down for the button inside a panel?
I'm trying to create a dropdown while clicking a button. I can append the data using ul, li to a button. Other than that any other way is t...
Issue #1496
issue in adding new row cell in grapejs not working
i am using grapejs version 0.14.33 with angular 6 i want to add a section with 2 blocks on block manager as created on grapejs demo. and fo...
Issue #1911
[Question] Is Knockout.js compatible with Grapesjs?
I'm trying to implement an attr binding on one of my components using Knockout.js. It works perfectly fine otherwise but the same implement...
Issue #1724
[QUESTION] link custom traits to my custom blocks
Hi, i have created a custom traits and custom blocks but i try to link my blocks in traits, it does not shows in settings option my custom...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.