mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 09:21:11 +00:00
e1d0f1e61c
- Make sure common styles are loaded for all components - Add icon in user menu Fixes renders of: - Language button (no top margin and button styles) - MenuPortal (no left margins) Change-Id: I98b4820b6d91d46fd27a1d433d5bacd187a7cbb0
14 lines
534 B
JavaScript
14 lines
534 B
JavaScript
import mustache from 'mustache';
|
|
import { menuTemplate as vectorTabsTemplate } from './Menu.stories.data';
|
|
import { namespaceTabsData, pageActionsData } from './MenuTabs.stories.data';
|
|
import '../resources/skins.vector.styles/MenuTabs.less';
|
|
import '../resources/skins.vector.styles/TabWatchstarLink.less';
|
|
|
|
export default {
|
|
title: 'MenuTabs'
|
|
};
|
|
|
|
export const pageActionTabs = () => mustache.render( vectorTabsTemplate, pageActionsData );
|
|
|
|
export const namespaceTabs = () => mustache.render( vectorTabsTemplate, namespaceTabsData );
|