Skip to content

Commit

Permalink
Add style to button group in filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Machi3mfl committed Sep 26, 2024
1 parent 5774eb7 commit 8b4d854
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.button-group-filter {
border-radius: 2px;

.euiButton__content,
.euiButton__text {
font-size: 12px;
font-weight: 500;
}


.euiButtonGroup__buttons {
height: 30px;
border-radius: 2px;
box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.2), 0 3px 2px -2px rgba(0, 0, 0, 0.2), inset 0 0 0 1px #424752 !important;
border: none !important;

.euiButtonGroupButton {
line-height: 28px;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { useState, useEffect } from "react";
import { EuiButtonGroup } from "@elastic/eui"
import { FILTER_OPERATOR, PatternDataSourceFilterManager } from "../../../../common/data-source";
import { Filter } from "../../../../../../../../src/plugins/data/common";
import "./vuls-evaluation-filter.scss";

type VulsEvaluatedFilterProps = {
setValue: (underEvaluation: boolean | null) => void;
Expand Down Expand Up @@ -80,6 +81,7 @@ const VulsEvaluationFilter = ({ setValue, value }: VulsEvaluatedFilterProps) =>

return (
<EuiButtonGroup
className="button-group-filter"
type="multi"
idToSelectedMap={toggleIdToSelectedMap}
options={toggleButtons}
Expand Down

0 comments on commit 8b4d854

Please sign in to comment.