Skip to content

Commit

Permalink
bug: Fixes irregular padding on agent selector in report page (#3593)
Browse files Browse the repository at this point in the history
* bug: Fixes irregular padding on agent selector in report page

* code climate fixes
  • Loading branch information
iamsivin committed Dec 16, 2021
1 parent 93f384a commit e0c9687
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Expand Up @@ -51,6 +51,10 @@
width: 100%;
}

p {
margin-bottom: 0;
}

&.multiselect__option--highlight {
background: var(--white);
color: var(--color-body);
Expand Down
3 changes: 2 additions & 1 deletion app/javascript/dashboard/assets/scss/widgets/_reports.scss
Expand Up @@ -21,6 +21,7 @@
border: 1px solid var(--color-border);
}

.display-flex {
.reports-option__wrap {
align-items: center;
display: flex;
}
Expand Up @@ -15,7 +15,7 @@
@input="changeFilterSelection"
>
<template slot="singleLabel" slot-scope="props">
<div class="display-flex">
<div class="reports-option__wrap">
<thumbnail
src="props.option.thumbnail"
:username="props.option.name"
Expand All @@ -28,7 +28,7 @@
</div>
</template>
<template slot="option" slot-scope="props">
<div class="display-flex">
<div class="reports-option__wrap">
<thumbnail
src="props.option.thumbnail"
:username="props.option.name"
Expand All @@ -55,7 +55,7 @@
@input="changeFilterSelection"
>
<template slot="singleLabel" slot-scope="props">
<div class="display-flex">
<div class="reports-option__wrap">
<div
:style="{ backgroundColor: props.option.color }"
class="reports-option__rounded--item margin-right-small"
Expand All @@ -68,7 +68,7 @@
</div>
</template>
<template slot="option" slot-scope="props">
<div class="display-flex">
<div class="reports-option__wrap">
<div
:style="{ backgroundColor: props.option.color }"
class="
Expand Down

0 comments on commit e0c9687

Please sign in to comment.