Skip to content
Snippets Groups Projects
Unverified Commit d1e086ef authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

Fix #17673: Rounded buttons have excessive white background (#17697)

* Remove white background from `Select` component's container

* Remove superfluous `text-bold` class from the `Select` component
parent 44e5987a
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,6 @@ export default class SchedulePicker extends Component {
style={{ minWidth: "48px" }}
>{t`on the`}</span>
<Select
className="text-bold bg-white"
value={schedule.schedule_frame}
onChange={({ target: { value } }) =>
this.handleChangeProperty("schedule_frame", value)
......@@ -157,7 +156,6 @@ export default class SchedulePicker extends Component {
{schedule.schedule_frame !== "mid" && (
<span className="mx1">
<Select
className="text-bold bg-white"
value={schedule.schedule_day}
onChange={({ target: { value } }) =>
this.handleChangeProperty("schedule_day", value)
......@@ -177,7 +175,6 @@ export default class SchedulePicker extends Component {
<span className="flex align-center">
<span className="text-bold mx1">{t`on`}</span>
<Select
className="text-bold bg-white"
value={schedule.schedule_day}
onChange={({ target: { value } }) =>
this.handleChangeProperty("schedule_day", value)
......@@ -201,7 +198,7 @@ export default class SchedulePicker extends Component {
style={{ minWidth: "48px" }}
>{t`at`}</span>
<Select
className="mr1 text-bold bg-white"
className="mr1"
value={minuteOfHour}
options={MINUTE_OPTIONS}
onChange={({ target: { value } }) =>
......@@ -231,7 +228,7 @@ export default class SchedulePicker extends Component {
style={{ minWidth: "48px" }}
>{t`at`}</span>
<Select
className="mr1 text-bold bg-white"
className="mr1"
value={hour}
options={HOUR_OPTIONS}
onChange={({ target: { value } }) =>
......@@ -269,7 +266,6 @@ export default class SchedulePicker extends Component {
{textBeforeInterval}
</span>
<Select
className="text-bold bg-white"
value={scheduleType}
onChange={({ target: { value } }) =>
this.handleChangeProperty("schedule_type", value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment