Skip to content

Commit

Permalink
Fix width of image selection arrow div (stashapp#4142)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flashy78 authored Sep 25, 2023
1 parent ce55392 commit bba60cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export const ScrapedImagesRow: React.FC<IScrapedImagesRowProps> = (props) => {
/>
)}
renderNewField={() => (
<div>
<div className="image-selection-parent">
<ImageSelector
imageClassName={props.className}
images={props.images}
Expand Down
6 changes: 6 additions & 0 deletions ui/v2.5/src/components/Shared/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@
padding-right: 15px;
}

.image-selection-parent {
min-width: 100%;
}

.image-selection {
.select-buttons {
align-items: center;
Expand Down Expand Up @@ -369,6 +373,7 @@ div.react-datepicker {

.react-datepicker__day {
color: $text-color;

&.react-datepicker__day--disabled {
color: $text-muted;
}
Expand Down Expand Up @@ -438,6 +443,7 @@ div.react-datepicker {
}
}
}

/* stylelint-enable */

#date-picker-portal .react-datepicker-popper {
Expand Down

0 comments on commit bba60cc

Please sign in to comment.