mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-24 00:56:06 +00: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:
@@ -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);
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user