Newer
Older
navi-1 / webclient / src / components / artifacts / styles / _panel-responsive.scss
@media (max-width: 980px) {
  .artifacts-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    margin-right: 0;
    transform: translateX(100%);
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
  }

  .artifacts-resize-handle {
    display: none;
  }

  .artifacts-panel.is-open {
    transform: translateX(0);
  }

  /* Hide tab text labels on mobile to fit the close button */
  .artifacts-header {
    gap: 6px;
    padding: 0 10px;
  }
  .artifacts-tab {
    padding: 8px 10px;
    gap: 4px;
  }
  .artifacts-tab > span:not(.artifacts-tab-count) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .artifacts-panel {
    transition: none;
  }
}