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

Fix (styles): Update border color of Search Relevance to be compliant with Dark Mode #315

Merged
merged 7 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
Expand Up @@ -4,22 +4,13 @@ exports[`Header component Renders header component 1`] = `
<Header>
<EuiPanel
borderRadius="none"
color="transparent"
grow={false}
hasBorder={false}
hasShadow={false}
style={
Object {
"borderBottom": "1px solid #D3DAE6",
}
}
>
<div
className="euiPanel euiPanel--paddingMedium euiPanel--borderRadiusNone euiPanel--plain euiPanel--noShadow euiPanel--noBorder euiPanel--flexGrowZero"
style={
Object {
"borderBottom": "1px solid #D3DAE6",
}
}
className="euiPanel euiPanel--paddingMedium euiPanel--borderRadiusNone euiPanel--transparent euiPanel--noShadow euiPanel--noBorder euiPanel--flexGrowZero"
>
<EuiTitle>
<h1
Expand Down
2 changes: 1 addition & 1 deletion public/components/common/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ export const Header = ({ children }: HeaderProps) => {
<EuiPanel
hasBorder={false}
hasShadow={false}
color="transparent"
grow={false}
borderRadius="none"
style={{ borderBottom: '1px solid #D3DAE6' }}
>
<EuiTitle>
<h1>Compare search results</h1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,13 @@ exports[`Create index component Renders create index component 1`] = `
<Header>
<EuiPanel
borderRadius="none"
color="transparent"
grow={false}
hasBorder={false}
hasShadow={false}
style={
Object {
"borderBottom": "1px solid #D3DAE6",
}
}
>
<div
className="euiPanel euiPanel--paddingMedium euiPanel--borderRadiusNone euiPanel--plain euiPanel--noShadow euiPanel--noBorder euiPanel--flexGrowZero"
style={
Object {
"borderBottom": "1px solid #D3DAE6",
}
}
className="euiPanel euiPanel--paddingMedium euiPanel--borderRadiusNone euiPanel--transparent euiPanel--noShadow euiPanel--noBorder euiPanel--flexGrowZero"
>
<EuiTitle>
<h1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
min-height: 500px;

&:nth-child(1) {
border-right: 1px solid #D3DAE6;
border-right: 1px solid $euiBorderColor;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ exports[`Flyout component Renders flyout component 1`] = `
}
showPrintMargin={false}
tabSize={2}
theme="sql_console"
theme="textmate"
value="{}"
width="100%"
>
Expand Down Expand Up @@ -416,7 +416,7 @@ exports[`Flyout component Renders flyout component 1`] = `
showPrintMargin={false}
style={Object {}}
tabSize={2}
theme="sql_console"
theme="textmate"
value="{}"
width="100%"
wrapEnabled={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,13 @@ exports[`Flyout component Renders flyout component 1`] = `
>
<EuiPanel
borderRadius="none"
className="left-right-borders"
color="transparent"
grow={false}
hasBorder={false}
hasShadow={false}
style={
Object {
"borderBottom": "1px solid #D3DAE6",
}
}
>
<div
className="euiPanel euiPanel--paddingMedium euiPanel--borderRadiusNone euiPanel--transparent euiPanel--noShadow euiPanel--noBorder euiPanel--flexGrowZero"
style={
Object {
"borderBottom": "1px solid #D3DAE6",
}
}
className="euiPanel euiPanel--paddingMedium euiPanel--borderRadiusNone euiPanel--transparent euiPanel--noShadow euiPanel--flexGrowZero left-right-borders"
>
<EuiFlexGroup>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
.search-relevance-config:nth-child(1) {
margin: 0;
padding: 12px;
border-right: 1px solid #D3DAE6;
border-right: 1px solid $euiBorderColor;
}


.left-right-borders {
border-left: 0;
border-right: 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,10 @@ export const SearchConfigsPanel = ({
return (
<EuiPanel
hasShadow={false}
hasBorder={false}
color="transparent"
grow={false}
borderRadius="none"
style={{ borderBottom: '1px solid #D3DAE6' }}
className="left-right-borders"
>
<EuiFlexGroup>
<EuiFlexItem className="search-relevance-config">
Expand Down
Loading