forked from CGM_Public/pretix_original
Fix unusable arrow-buttons on number-inputs in recent Firefox versions.
This commit is contained in:
@@ -134,7 +134,7 @@ output {
|
|||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: $input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
|
height: $input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
|
||||||
padding: $padding-base-vertical $padding-base-horizontal;
|
padding: $padding-base-vertical 0 $padding-base-vertical $padding-base-horizontal; // Setting the padding-right to zero, as some versions Firefox render the arrow-buttons on number inputs useless.
|
||||||
font-size: $font-size-base;
|
font-size: $font-size-base;
|
||||||
line-height: $line-height-base;
|
line-height: $line-height-base;
|
||||||
color: $input-color;
|
color: $input-color;
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
border: 1px solid $input-border;
|
border: 1px solid $input-border;
|
||||||
border-radius: $input-border-radius;
|
border-radius: $input-border-radius;
|
||||||
height: $input-height-base;
|
height: $input-height-base;
|
||||||
padding: $padding-base-vertical $padding-base-horizontal;
|
padding: $padding-base-vertical 0 $padding-base-vertical $padding-base-horizontal; // Setting the padding-right to zero, as some versions Firefox render the arrow-buttons on number inputs useless.
|
||||||
color: $input-color;
|
color: $input-color;
|
||||||
background-color: $input-bg;
|
background-color: $input-bg;
|
||||||
@include box-shadow(inset 0 1px 1px rgba(0, 0, 0, .075));
|
@include box-shadow(inset 0 1px 1px rgba(0, 0, 0, .075));
|
||||||
|
|||||||
Reference in New Issue
Block a user