Skip to content
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 @@ -6,7 +6,6 @@ import {
TelemetryEvent,
} from 'uiSrc/telemetry'
import {
PrimaryButton,
SecondaryButton,
} from 'uiSrc/components/base/forms/buttons'
import styles from 'uiSrc/pages/browser/components/browser-search-panel/styles.module.scss'
Expand Down Expand Up @@ -41,13 +40,14 @@ const Actions = ({ handleAddKeyPanel, handleBulkActionsPanel }: Props) => {
}

const AddKeyBtn = (
<PrimaryButton
<SecondaryButton
size="m"
filled
onClick={openAddKeyPanel}
className={styles.addKey}
data-testid="btn-add-key"
>
+ <span className={styles.addKeyText}>Key</span>
</PrimaryButton>
</SecondaryButton>
)
const openBulkActions = () => {
dispatch(setBulkActionType(BulkActionsType.Delete))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,46 +6,12 @@
justify-content: space-between;
position: relative;

.addKey {
height: 36px !important;
width: 78px !important;
margin-left: 12px;

:global(.euiButton__text) {
font:
normal normal 500 15px/24px "Graphik",
sans-serif !important;
}
}

.searchWrapper {
display: flex;
flex-grow: 1;
}
}

@include global.insights-open {
.content {
.addKey {
width: 36px !important;
min-width: auto !important;

.addKeyText {
display: none;
}

:global(.euiButton__content) {
padding: 0;
}

:global(.euiButton__text) {
font-size: 20px !important;
font-weight: 400 !important;
}
}
}
}

.moduleNotLoaded {
max-width: 520px !important;
z-index: 10000 !important;
Expand Down
Loading