mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(uishell): remove navbar footer
This commit is contained in:
parent
2424b32c87
commit
ba459dc25d
1 changed files with 0 additions and 10 deletions
|
@ -3,8 +3,6 @@
|
|||
export let isOpen = undefined;
|
||||
|
||||
import { cx } from '../../../lib';
|
||||
import Icon from '../../Icon/Icon.svelte';
|
||||
import { closeIcon } from '../constants';
|
||||
|
||||
$: footerSpanText = isOpen ? 'Open' : 'Close';
|
||||
</script>
|
||||
|
@ -13,12 +11,4 @@
|
|||
class={cx('--side-nav__navigation', '--side-nav', '--side-nav--ux', isOpen && '--side-nav--expanded')}
|
||||
aria-label={ariaLabel}>
|
||||
<slot />
|
||||
<footer class={cx('--side-nav__footer')}>
|
||||
<button class={cx('--side-nav__toggle')} type="button" title="Open">
|
||||
<div class={cx('--side-nav__icon')}>
|
||||
<Icon {...closeIcon} />
|
||||
</div>
|
||||
<span class={cx('--assistive-text')}>{footerSpanText}</span>
|
||||
</button>
|
||||
</footer>
|
||||
</nav>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue