Skip to content

Commit da63612

Browse files
authored
Merge pull request #4719 from Laravel-Backpack/fix-1px-bump-on-select2
fix 1px bump on select2
2 parents e5d5cac + a2233fb commit da63612

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

src/public/packages/backpack/base/css/blue-bundle.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/public/packages/backpack/base/css/bundle.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/assets/scss/customs/_form.scss

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,20 @@ form {
4040
}
4141
}
4242

43+
.select2-container--bootstrap .select2-selection {
44+
border: none!important;
45+
}
46+
.select2.select2-container {
47+
border: 1px solid rgba(0, 40, 100, .12) !important;
48+
}
4349
.select2.select2-container.select2-container--focus,
4450
.select2.select2-container.select2-container--open {
4551
background-color: #fff;
46-
border-color: #9080f1;
52+
border: 1px solid var(--primary, #9080f1)!important;
4753
box-shadow: 0 0 0 2px #e1dcfb;
4854
color: #495057;
4955
outline: 0;
5056
border-radius: 4px;
5157
}
5258

53-
.select2.select2-container.select2-container--focus,
54-
.select2.select2-container.select2-container--open .select2-selection {
55-
border-color: #9080f1;
56-
border: 1px solid #9080f1 !important;
57-
}
5859
}

0 commit comments

Comments
 (0)