Issue #1365Opened August 15, 2018by shlomoko0 reactions

[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)

artfAugust 19, 20180 reactions

@shlomoko sorry but I close this issue, has nothing to do with grapesjs itself, it's just about your UI layout setting

lock[bot]September 17, 20190 reactions

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.