Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
e482fbb1
Unverified
Commit
e482fbb1
authored
3 years ago
by
Gaël Poupard
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix(input-group): custom-file with validation (#33239)
parent
8133c3e5
v4-dev-dropdown-hide-method
v4-dev
v4.6.2
v4.6.1
1 merge request
!36532
My v4 dev
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/_input-group.scss
+3
-0
scss/_input-group.scss
with
3 additions
and
0 deletions
+3
-0
scss/_input-group.scss
+
3
-
0
View file @
e482fbb1
...
@@ -52,12 +52,14 @@
...
@@ -52,12 +52,14 @@
align-items
:
center
;
align-items
:
center
;
&
:not
(
:last-child
)
.custom-file-label
,
&
:not
(
:last-child
)
.custom-file-label
,
&
:not
(
:last-child
)
.custom-file-label
::after
{
@include
border-right-radius
(
0
);
}
&
:not
(
:first-child
)
.custom-file-label
{
@include
border-left-radius
(
0
);
}
&
:not
(
:first-child
)
.custom-file-label
{
@include
border-left-radius
(
0
);
}
}
}
&
:not
(
.has-validation
)
{
&
:not
(
.has-validation
)
{
>
.form-control
:not
(
:last-child
),
>
.form-control
:not
(
:last-child
),
>
.custom-select
:not
(
:last-child
),
>
.custom-select
:not
(
:last-child
),
>
.custom-file
:not
(
:last-child
)
.custom-file-label
,
>
.custom-file
:not
(
:last-child
)
.custom-file-label
::after
{
>
.custom-file
:not
(
:last-child
)
.custom-file-label
::after
{
@include
border-right-radius
(
0
);
@include
border-right-radius
(
0
);
}
}
...
@@ -66,6 +68,7 @@
...
@@ -66,6 +68,7 @@
&
.has-validation
{
&
.has-validation
{
>
.form-control
:nth-last-child
(
n
+
3
),
>
.form-control
:nth-last-child
(
n
+
3
),
>
.custom-select
:nth-last-child
(
n
+
3
),
>
.custom-select
:nth-last-child
(
n
+
3
),
>
.custom-file
:nth-last-child
(
n
+
3
)
.custom-file-label
,
>
.custom-file
:nth-last-child
(
n
+
3
)
.custom-file-label
::after
{
>
.custom-file
:nth-last-child
(
n
+
3
)
.custom-file-label
::after
{
@include
border-right-radius
(
0
);
@include
border-right-radius
(
0
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets