mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-17 05:24:06 +00:00
Fixed layout and overflow
This commit is contained in:
@ -11,7 +11,6 @@
|
||||
export let activeChildKey = '';
|
||||
export let showHeaders = true;
|
||||
export let level = 0;
|
||||
export let contained = false;
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
let childrenOpen = {};
|
||||
@ -87,7 +86,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class:grid={level === 0} class:subgrid={level > 0} class:contained>
|
||||
<div class:grid={level === 0} class:subgrid={level > 0}>
|
||||
{#if actions?.length}
|
||||
<div class="actions">
|
||||
{#each actions as action}
|
||||
@ -170,9 +169,6 @@
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
}
|
||||
.grid.contained {
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
.subgrid {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -4,7 +4,6 @@
|
||||
export let data = [];
|
||||
export let key = '_id';
|
||||
export let showHeaders = false;
|
||||
export let contained = true;
|
||||
export let activeKey = '';
|
||||
|
||||
const columns = [
|
||||
@ -78,5 +77,4 @@
|
||||
{columns}
|
||||
{items}
|
||||
{showHeaders}
|
||||
{contained}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user