@enki-tek/fms-web-components 0.0.62 → 0.0.64
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
|
|
1
1
|
<script>import { Badge } from "sveltestrap";
|
2
2
|
import { badgeConfig } from "./BadgeConfig";
|
3
3
|
export let config = "";
|
4
|
-
export let className;
|
5
|
-
let badgeStyles = [`custom-badge`, className];
|
4
|
+
export let className = "";
|
5
|
+
let badgeStyles = [`m-0`, `mt-1`, `custom-badge`, className];
|
6
6
|
if (badgeConfig.hasOwnProperty(config)) {
|
7
7
|
badgeStyles = [...badgeConfig[config], ...badgeStyles];
|
8
8
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
export let rowspan = 1;
|
4
4
|
export let textAlign = ' ';
|
5
5
|
export let className = '';
|
6
|
-
let tdStyles = ['th-div', `text-${textAlign}` , className];
|
6
|
+
let tdStyles = ['th-div', `text-${textAlign}` , className , "ps-2"];
|
7
7
|
</script>
|
8
8
|
|
9
9
|
<th {...$$restProps} colspan={colspan} rowspan={rowspan} class={tdStyles.join(' ')}><slot /></th>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
}
|
14
14
|
</script>
|
15
15
|
|
16
|
-
<Navbar expand="md" class="bg-white">
|
16
|
+
<Navbar expand="md" class="bg-white sticky-top">
|
17
17
|
<slot name="brand" />
|
18
18
|
<NavbarToggler class="border border-success text-success" on:click={() => (isOpen = !isOpen)} />
|
19
19
|
<Collapse {isOpen} navbar expand="md" on:update={handleUpdate}>
|