1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-19 00:02:09 +03:00

Merge pull request #1242 from ehwarren/bugfix/action-bar-not-responsive

Fix console warning and svg-icon button click events
This commit is contained in:
Eugene 2019-07-17 08:51:04 +02:00 committed by GitHub
commit 1b3f28415e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -16,6 +16,12 @@ body {
display: none;
}
.btn {
& > svg {
pointer-events: none;
}
}
.form-line {
display: flex;
border-top: 1px solid rgba(0, 0, 0, 0.2);

View File

@ -85,7 +85,7 @@ export class XTermFrontend extends Frontend {
this.resizeHandler = () => {
try {
if (getComputedStyle(this.xtermCore.element).getPropertyValue('height') !== 'auto') {
if (this.xtermCore.element && getComputedStyle(this.xtermCore.element).getPropertyValue('height') !== 'auto') {
this.fitAddon.fit()
}
} catch (e) {