Merge branch 'dev' of github.com:GoogleChromeLabs/squoosh into preprocessor-transformations-rebased

This commit is contained in:
Jason Miller
2020-12-10 23:32:15 -05:00
2 changed files with 12 additions and 1 deletions

View File

@@ -362,7 +362,7 @@ export default class Output extends Component<Props, State> {
<span class={style.zoomValue}>{Math.round(scale * 100)}</span>% <span class={style.zoomValue}>{Math.round(scale * 100)}</span>%
</span> </span>
)} )}
<button class={style.button} onClick={this.zoomIn}> <button class={style.lastButton} onClick={this.zoomIn}>
<AddIcon /> <AddIcon />
</button> </button>

View File

@@ -122,6 +122,17 @@
} }
} }
.first-button {
composes: button;
border-radius: 6px 0 0 6px;
}
.last-button {
composes: button;
border-radius: 0 6px 6px 0;
border-left-width: 1px;
}
.zoom { .zoom {
cursor: text; cursor: text;
width: 7rem; width: 7rem;