mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-02-27 16:39:14 +08:00
Rename toggle output in zen mode to show/hide (#1161)
This commit is contained in:
parent
a90d7fda81
commit
df87b2c7fc
2 changed files with 14 additions and 1 deletions
|
@ -267,6 +267,18 @@ solely client-side operations.
|
|||
@apply hidden;
|
||||
}
|
||||
|
||||
[data-el-session][data-js-code-zen][data-js-no-outputs]
|
||||
[data-el-code-zen-outputs-toggle]
|
||||
[data-label-hide] {
|
||||
@apply hidden;
|
||||
}
|
||||
|
||||
[data-el-session][data-js-code-zen]:not([data-js-no-outputs])
|
||||
[data-el-code-zen-outputs-toggle]
|
||||
[data-label-show] {
|
||||
@apply hidden;
|
||||
}
|
||||
|
||||
[data-el-session][data-js-code-zen] [data-el-code-zen-enable] {
|
||||
@apply hidden;
|
||||
}
|
||||
|
|
|
@ -90,7 +90,8 @@ defmodule LivebookWeb.SessionLive.IndicatorsComponent do
|
|||
role="menuitem"
|
||||
data-el-code-zen-outputs-toggle>
|
||||
<.remix_icon icon="layout-bottom-2-line" />
|
||||
<span class="font-medium">Toggle outputs</span>
|
||||
<span class="font-medium" data-label-show>Show outputs</span>
|
||||
<span class="font-medium" data-label-hide>Hide outputs</span>
|
||||
</button>
|
||||
<button class="menu-item text-gray-500"
|
||||
role="menuitem"
|
||||
|
|
Loading…
Reference in a new issue