Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Commit

Permalink
fix(styles): resets number input in firefox and sets width of input-s…
Browse files Browse the repository at this point in the history
…tate
  • Loading branch information
alexander-heimbuch committed Nov 9, 2018
1 parent ba5d2e9 commit e797522
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/tabs/audio/Audio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="audio-tab" id="tab-audio">
<audio-volume-component class="seperator" v-if="components.audio.volumeControl"></audio-volume-component>
<audio-rate-component class="seperator" v-if="components.audio.rateControl"></audio-rate-component>
<audio-channels-component class="seperator" v-if="components.audio.channelControl && channelsAvailable"></audio-channels-component>
<audio-channels-component class="seperator" v-if="components.audio.channelControl"></audio-channels-component>
<footer-component></footer-component>
</div>
</template>
Expand Down
4 changes: 1 addition & 3 deletions src/store/filter/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ import { handleActions } from 'redux-actions'
import { LOADING, UPDATE_FILTER } from '../types'

export const INITIAL_STATE = {
channels: 2,
buffer: false
channels: 2
}

const stateHandler = (state, { payload }) => ({
...state,
buffer: !!payload.buffer,
channels: get(payload, 'channels', 2)
})

Expand Down
4 changes: 2 additions & 2 deletions src/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ $thumb-width-desktop-hover: 25px;
$thumb-width-mobile: 44px;
$input-height: 35px;
$mute-control-width: 60px;
$input-state-width: 60px;
$input-value-width: 30px;
$input-state-width: 65px;
$input-value-width: 35px;

// Transcripts
$transcripts-header-height: 50px;
Expand Down
4 changes: 4 additions & 0 deletions src/styles/resets/_input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}

input[type=number] {
-moz-appearance:textfield;
}

0 comments on commit e797522

Please sign in to comment.