mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-20 00:51:33 +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:
commit
1b3f28415e
@ -16,6 +16,12 @@ body {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
& > svg {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.form-line {
|
.form-line {
|
||||||
display: flex;
|
display: flex;
|
||||||
border-top: 1px solid rgba(0, 0, 0, 0.2);
|
border-top: 1px solid rgba(0, 0, 0, 0.2);
|
||||||
|
@ -85,7 +85,7 @@ export class XTermFrontend extends Frontend {
|
|||||||
|
|
||||||
this.resizeHandler = () => {
|
this.resizeHandler = () => {
|
||||||
try {
|
try {
|
||||||
if (getComputedStyle(this.xtermCore.element).getPropertyValue('height') !== 'auto') {
|
if (this.xtermCore.element && getComputedStyle(this.xtermCore.element).getPropertyValue('height') !== 'auto') {
|
||||||
this.fitAddon.fit()
|
this.fitAddon.fit()
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user