Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Luc Didry
kresus
Commits
7025a9fc
Commit
7025a9fc
authored
Mar 10, 2019
by
Nicolas Frandeboeuf
Committed by
Nicolas Frandeboeuf
Mar 12, 2019
Browse files
Fix clearable-input overflow in search (fix #837)
parent
354e2701
Changes
2
Hide whitespace changes
Inline
Side-by-side
client/css/sections/settings/alerts.css
View file @
7025a9fc
.clearable-input
>
input
{
width
:
auto
;
}
/* Alerts */
table
.alerts-and-reports
tfoot
{
display
:
table-header-group
;
...
...
@@ -15,7 +11,6 @@ table.alerts-and-reports td.condition {
table
.alerts-and-reports
td
.amount
{
width
:
40%
;
text-align
:
right
;
}
table
.alerts-and-reports
td
.frequency
{
...
...
@@ -27,15 +22,22 @@ table.alerts-and-reports td.actions {
width
:
8%
;
}
table
.alerts-and-reports
.input-group-money
{
max-width
:
180px
;
vertical-align
:
inherit
;
margin-left
:
1em
;
}
@media
screen
and
(
max-width
:
768px
)
{
table
.alerts-and-reports
.input-group-money
>
input
{
width
:
50px
;
}
}
@media
screen
and
(
min-width
:
992px
)
{
table
.alerts-and-reports
td
.frequency
select
{
width
:
270px
;
}
.input-group-money
{
width
:
180px
;
margin-left
:
1em
;
}
}
table
.alerts-and-reports
td
.condition
span
{
...
...
client/css/ui/input-with-addon.css
View file @
7025a9fc
.input-with-addon
{
display
:
inline-flex
;
border
:
none
;
/* Will prevent inner inputs to take too much width in flexbox layouts */
overflow
:
auto
;
}
.input-with-addon.block
{
...
...
@@ -26,10 +29,6 @@
flex
:
auto
;
background-color
:
white
;
overflow
:
hidden
;
/* By setting a width of 50px the item will still take as much width as possible due to the
flexbox but won't take too much space from intrinsic width. */
width
:
50px
;
}
.input-with-addon
>
.btn
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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