Merge pull request #5245 from KDSBrowne/z.0.9-prevent-slideControl-sizeChange

Prevent slide control btn changing shape
This commit is contained in:
Anton Georgiev 2018-03-19 14:07:17 -04:00 committed by GitHub
commit 1299c2cb55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -193,7 +193,7 @@ class PresentationToolbar extends Component {
aria-relevant="all"
value={currentSlideNum}
onChange={actions.skipToSlideHandler}
className={styles.skipSlide}
className={styles.skipSlideSelect}
>
{this.renderSkipSlideOpts(numberOfSlides)}
</select>
@ -208,6 +208,7 @@ class PresentationToolbar extends Component {
onClick={actions.nextSlideHandler}
label={intl.formatMessage(intlMessages.nextSlideLabel)}
hideLabel
className={styles.skipSlide}
/>
{/* Fit to width button

View File

@ -33,7 +33,7 @@ $controls-background: #F0F2F6 !default;
background-color: $controls-background;
color: $controls-color;
border-top: 0;
border-right: $color-gray-light 2px solid;
border-right: $color-gray-light $border-size solid;
border-bottom: 0;
border-left: 0;
border-radius: 0;
@ -58,12 +58,14 @@ $controls-background: #F0F2F6 !default;
border-right: 0 !important;
}
.skipSlide,
.prevSlide {
border-radius: 5px 0 0 5px;
border: none !important;
}
.skipSlide {
.skipSlideSelect {
padding: 0 0.8%;
border-left: $border-size solid $color-gray-light !important;
}
.zoomSlider {