@jsenv/navi 0.14.6 → 0.14.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16826,8 +16826,7 @@ import.meta.css = /* css */`
16826
16826
  display: flex;
16827
16827
  width: 100%;
16828
16828
  margin: 0;
16829
- padding-right: 2px; /* space for eventual outline overflow */
16830
- padding-left: 2px; /* space for eventual outline overflow */
16829
+ padding: 0;
16831
16830
  align-items: center;
16832
16831
  gap: 0.5rem;
16833
16832
  list-style: none;
@@ -16837,6 +16836,15 @@ import.meta.css = /* css */`
16837
16836
  > li {
16838
16837
  position: relative;
16839
16838
  display: inline-flex;
16839
+ /* Space for eventual outline inside the tab (link) */
16840
+ padding-top: 2px;
16841
+ padding-bottom: 2px;
16842
+ &:first-child {
16843
+ padding-left: 2px;
16844
+ }
16845
+ &:last-child {
16846
+ padding-right: 2px;
16847
+ }
16840
16848
 
16841
16849
  .navi_tab {
16842
16850
  --x-tab-background: var(--tab-background);
@@ -16913,13 +16921,21 @@ import.meta.css = /* css */`
16913
16921
  overflow-y: auto;
16914
16922
 
16915
16923
  > ul {
16916
- padding-top: 2px; /* space for eventual outline overflow */
16917
- padding-bottom: 2px; /* space for eventual outline overflow */
16918
16924
  flex-direction: column;
16919
16925
  align-items: start;
16920
16926
 
16921
16927
  > li {
16922
16928
  width: 100%;
16929
+ padding-top: 0;
16930
+ padding-right: 2px;
16931
+ padding-bottom: 0;
16932
+ padding-left: 2px;
16933
+ &:first-child {
16934
+ padding-top: 2px;
16935
+ }
16936
+ &:last-child {
16937
+ padding-bottom: 2px;
16938
+ }
16923
16939
 
16924
16940
  .navi_tab {
16925
16941
  flex-direction: row;