Browse Source

fixes logconsole icon by fixing the icon name

telamonian 5 years ago
parent
commit
63746d74e8

+ 1 - 1
packages/logconsole-extension/schema/plugin.json

@@ -1,5 +1,5 @@
 {
-  "jupyter.lab.setting-icon-class": "jp-SettingsIcon",
+  "jupyter.lab.setting-icon-class": "jp-ListIcon",
   "jupyter.lab.setting-icon-label": "Log Console",
   "title": "Log Console",
   "description": "Log Console settings.",

+ 1 - 1
packages/logconsole-extension/src/index.tsx

@@ -143,7 +143,7 @@ function activateLogConsole(
     logConsoleWidget.addClass('jp-LogConsole');
     logConsoleWidget.title.closable = true;
     logConsoleWidget.title.label = 'Log Console';
-    logConsoleWidget.title.iconClass = 'jp-LogConsoleIcon';
+    logConsoleWidget.title.iconClass = 'jp-ListIcon';
 
     const addCheckpointButton = new CommandToolbarButton({
       commands: app.commands,

+ 0 - 4
packages/logconsole-extension/style/base.css

@@ -3,10 +3,6 @@
 | Distributed under the terms of the Modified BSD License.
 |----------------------------------------------------------------------------*/
 
-.jp-LogConsoleIcon {
-  background-image: var(--jp-icon-list);
-}
-
 @keyframes flash {
   0% {
     background-color: var(--jp-brand-color1);