Add spacing

pull/496/head
Cagatay Civici 2020-09-21 16:11:25 +03:00
parent 4a680fad9f
commit 9fe4700be3
2 changed files with 4 additions and 3 deletions

View File

@ -19,7 +19,7 @@
<h5>Advanced</h5> <h5>Advanced</h5>
<Panel header="Header" :toggleable="true"> <Panel header="Header" :toggleable="true">
<template #icons> <template #icons>
<button class="p-panel-header-icon p-link" @click="toggle"> <button class="p-panel-header-icon p-link p-mr-2" @click="toggle">
<span class="pi pi-cog"></span> <span class="pi pi-cog"></span>
</button> </button>
<Menu id="config_menu" ref="menu" :model="items" :popup="true" /> <Menu id="config_menu" ref="menu" :model="items" :popup="true" />
@ -40,6 +40,7 @@ import PanelDoc from './PanelDoc';
export default { export default {
data() { data() {
return { return {
collapsed: true,
items: [ items: [
{ {
label: 'Options', label: 'Options',

View File

@ -63,7 +63,7 @@ import Panel from 'primevue/panel';
&lt;h5&gt;Advanced&lt;/h5&gt; &lt;h5&gt;Advanced&lt;/h5&gt;
&lt;Panel header="Header"&gt; &lt;Panel header="Header"&gt;
&lt;template #icons&gt; &lt;template #icons&gt;
&lt;button class="p-panel-header-icon p-link" @click="toggle"&gt; &lt;button class="p-panel-header-icon p-link p-mr-2" @click="toggle"&gt;
&lt;span class="pi pi-cog"&gt;&lt;/span&gt; &lt;span class="pi pi-cog"&gt;&lt;/span&gt;
&lt;/button&gt; &lt;/button&gt;
&lt;Menu id="config_menu" ref="menu" :model="items" :popup="true" /&gt; &lt;Menu id="config_menu" ref="menu" :model="items" :popup="true" /&gt;
@ -189,7 +189,7 @@ import Panel from 'primevue/panel';
&lt;h5&gt;Advanced&lt;/h5&gt; &lt;h5&gt;Advanced&lt;/h5&gt;
&lt;Panel header="Header" :toggleable="true"&gt; &lt;Panel header="Header" :toggleable="true"&gt;
&lt;template #icons&gt; &lt;template #icons&gt;
&lt;button class="p-panel-header-icon p-link" @click="toggle"&gt; &lt;button class="p-panel-header-icon p-link p-mr-2" @click="toggle"&gt;
&lt;span class="pi pi-cog"&gt;&lt;/span&gt; &lt;span class="pi pi-cog"&gt;&lt;/span&gt;
&lt;/button&gt; &lt;/button&gt;
&lt;Menu id="config_menu" ref="menu" :model="items" :popup="true" /&gt; &lt;Menu id="config_menu" ref="menu" :model="items" :popup="true" /&gt;