diff --git a/01_content/lib/client.js b/01_content/lib/client.js index 09ed64b..be40938 100644 --- a/01_content/lib/client.js +++ b/01_content/lib/client.js @@ -8187,7 +8187,8 @@ var css = xterm_default + "\n" + [ ".dsh-wt_dropWide{width:212px}", ".dsh-wt_dropTrash{flex:none;width:22px;height:22px;margin-right:2px;padding:0;border:none;border-radius:6px;background:transparent;color:var(--wt-text3);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease,color .15s ease}", ".dsh-wt_dropTrash:hover{background:rgba(244,63,94,.16);color:#f87171}", - ".dsh-wt_gridLabel{flex:1;min-width:0;font-size:12px;line-height:17px;color:var(--wt-text2);padding:2px 4px}", + ".dsh-wt_gridLabel{flex:none;white-space:nowrap;font-size:12px;line-height:17px;color:var(--wt-text2);padding:2px 2px 2px 4px}", + ".dsh-wt_gridHalf .dsh-wt_switch{margin-right:2px}", ".dsh-wt_switch{flex:none;position:relative;width:30px;height:17px;margin-right:4px;padding:0;border:none;border-radius:999px;background:rgba(255,255,255,.14);cursor:pointer;transition:background .15s ease}", ".dsh-wt_switchOn{background:#4f8ef7}", ".dsh-wt_switchKnob{position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4);transition:left .18s cubic-bezier(.22,.61,.36,1)}", diff --git a/01_content/src/client/styles.ts b/01_content/src/client/styles.ts index ee76fc6..6d9c906 100644 --- a/01_content/src/client/styles.ts +++ b/01_content/src/client/styles.ts @@ -435,7 +435,8 @@ export const css = xtermCss + '\n' + [ '.dsh-wt_dropWide{width:212px}', '.dsh-wt_dropTrash{flex:none;width:22px;height:22px;margin-right:2px;padding:0;border:none;border-radius:6px;background:transparent;color:var(--wt-text3);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease,color .15s ease}', '.dsh-wt_dropTrash:hover{background:rgba(244,63,94,.16);color:#f87171}', - '.dsh-wt_gridLabel{flex:1;min-width:0;font-size:12px;line-height:17px;color:var(--wt-text2);padding:2px 4px}', + '.dsh-wt_gridLabel{flex:none;white-space:nowrap;font-size:12px;line-height:17px;color:var(--wt-text2);padding:2px 2px 2px 4px}', + '.dsh-wt_gridHalf .dsh-wt_switch{margin-right:2px}', '.dsh-wt_switch{flex:none;position:relative;width:30px;height:17px;margin-right:4px;padding:0;border:none;border-radius:999px;background:rgba(255,255,255,.14);cursor:pointer;transition:background .15s ease}', '.dsh-wt_switchOn{background:#4f8ef7}',