Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Canvas] K7 design related fixes #30833

Merged
merged 3 commits into from
Feb 13, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$canvasLayoutFontSize: $euiFontSizeS;

.canvasLayout {
display: flex;
background: $euiPageBackgroundColor;
Expand Down Expand Up @@ -29,6 +31,7 @@
flex-grow: 0;
flex-basis: auto;
padding: $euiSizeM $euiSize $euiSizeS $euiSize;
font-size: $canvasLayoutFontSize;
ryankeairns marked this conversation as resolved.
Show resolved Hide resolved
}

.canvasLayout__stageContent {
Expand Down Expand Up @@ -69,4 +72,5 @@
width: 100%;
background-color: $euiPageBackgroundColor;
z-index: $euiZNavigation;
font-size: $canvasLayoutFontSize;
}
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,7 @@ export class AssetManager extends React.PureComponent {

return (
<Fragment>
<EuiButtonEmpty size="s" onClick={this.showModal}>
Manage assets
</EuiButtonEmpty>
<EuiButtonEmpty onClick={this.showModal}>Manage assets</EuiButtonEmpty>

{assetModal}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
body.canvas-isFullscreen {
// this is a hack that overwrites Kibana's core chrome
.kbnGlobalNav.kbnGlobalNav-isOpen + .app-wrapper,
.app-wrapper {
.header-global-wrapper + .app-wrapper {
ryankeairns marked this conversation as resolved.
Show resolved Hide resolved
left: 0;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const RefreshControl = ({ inFlight, setRefreshInterval, refreshInterval,
const setRefresh = val => setRefreshInterval(getRefreshInterval(val));

const popoverButton = handleClick => (
<EuiButtonEmpty size="s" onClick={handleClick}>
<EuiButtonEmpty onClick={handleClick}>
<div style={{ display: 'flex', alignItems: 'center' }}>
{inFlight && (
<Fragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@ export const CanvasLoading = ({ msg }) => (
<EuiPanel>
<EuiLoadingChart size="m" />
<EuiSpacer size="s" />
<EuiText>
{/*
For some reason a styled color is required,
likely something with the chrome css from Kibana
*/}
<p style={{ color: '#000' }}>{msg}</p>
<EuiText color="default" size="s">
<p>{msg}</p>
</EuiText>
</EuiPanel>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const SidebarComponent = ({
</EuiFlexGroup>
</EuiFlexItem>
</EuiFlexGroup>
<EuiTabbedContent tabs={tabs} initialSelectedTab={tabs[0]} />
<EuiTabbedContent tabs={tabs} initialSelectedTab={tabs[0]} size="s" />
</div>
)}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ export class WorkpadLoader extends React.PureComponent {
<Fragment>
<WorkpadDropzone onUpload={this.onUpload} disabled={createPending || !canUserWrite}>
<EuiBasicTable
compressed
items={rows}
itemId="id"
columns={columns}
Expand Down