logo fix 4
This commit is contained in:
1 parent
2672f8d86d
commit
80c6587f3b
1 file changed
+4
-1
@@ -147,7 +147,10 @@
|
|||||||
|
|
||||||
// The button was sized (min-width, padding) to fit the icon + label
|
// The button was sized (min-width, padding) to fit the icon + label
|
||||||
// together; with the label gone, shrink it to fit just the icon instead
|
// together; with the label gone, shrink it to fit just the icon instead
|
||||||
// of leaving the label's dead space behind.
|
// of leaving the label's dead space behind. It's a flex item in the
|
||||||
|
// toolbar, so flex-grow/flex-basis would otherwise override the explicit
|
||||||
|
// width below and keep reserving the old footprint.
|
||||||
|
container.style.setProperty('flex', '0 0 auto', 'important');
|
||||||
container.style.setProperty('min-width', '0', 'important');
|
container.style.setProperty('min-width', '0', 'important');
|
||||||
container.style.setProperty('width', 'fit-content', 'important');
|
container.style.setProperty('width', 'fit-content', 'important');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user