Import space selector styles (#64656)
This commit is contained in:
parent
2d4dc801c3
commit
fb79865aa0
|
@ -11,6 +11,4 @@
|
|||
// spcChart__legend-isLoading
|
||||
|
||||
@import './management/index';
|
||||
@import './nav_control/index';
|
||||
@import './space_selector/index';
|
||||
@import './copy_saved_objects_to_space/index';
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
@import './components/index';
|
||||
@import './nav_control';
|
|
@ -1,3 +0,0 @@
|
|||
.kbnGlobalNavLink__icon .spaceNavGraphic {
|
||||
margin-top: 0.5em;
|
||||
}
|
|
@ -1,2 +0,0 @@
|
|||
@import './spaces_description';
|
||||
@import './spaces_menu';
|
|
@ -4,6 +4,7 @@
|
|||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import './spaces_description.scss';
|
||||
import { EuiContextMenuPanel, EuiText } from '@elastic/eui';
|
||||
import React, { FC } from 'react';
|
||||
import { Capabilities, ApplicationStart } from 'src/core/public';
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import './spaces_menu.scss';
|
||||
import {
|
||||
EuiContextMenuItem,
|
||||
EuiContextMenuPanel,
|
||||
|
|
|
@ -140,7 +140,7 @@ export class NavControlPopover extends Component<Props, State> {
|
|||
}
|
||||
|
||||
return this.getButton(
|
||||
<SpaceAvatar space={activeSpace} size={'s'} className={'spaceNavGraphic'} />,
|
||||
<SpaceAvatar space={activeSpace} size={'s'} />,
|
||||
(activeSpace as Space).name
|
||||
);
|
||||
};
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
@import './space_selector';
|
||||
@import './components/index';
|
|
@ -1,2 +0,0 @@
|
|||
@import './space_card';
|
||||
@import './space_cards';
|
|
@ -1,8 +0,0 @@
|
|||
.euiCard.euiCard--isClickable.spaceCard {
|
||||
width: $euiSizeL * 10;
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
.spaceCard .euiCard__content{
|
||||
overflow: hidden;
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
.spaceCard {
|
||||
width: $euiSizeL * 10 !important;
|
||||
min-height: $euiSize * 12.5; // 200px
|
||||
|
||||
// SASSTODO: Fix EuiCard to truncate or forcewrap long text
|
||||
.euiCard__content{
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
|
@ -4,6 +4,7 @@
|
|||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import './space_card.scss';
|
||||
import { EuiCard } from '@elastic/eui';
|
||||
import React from 'react';
|
||||
import { addSpaceIdToPath, ENTER_SPACE_PATH } from '../../../common';
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import './space_cards.scss';
|
||||
import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui';
|
||||
import React, { Component } from 'react';
|
||||
import { Space } from '../../../common/model/space';
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
* you may not use this file except in compliance with the Elastic License.
|
||||
*/
|
||||
|
||||
import './space_selector.scss';
|
||||
|
||||
import {
|
||||
EuiFieldSearch,
|
||||
EuiFlexGroup,
|
||||
|
|
Loading…
Reference in a new issue