瀏覽代碼

Add a padding on launcher card labels (#3313)

This avoids the text touching the border of the card if the label is long enough
François Vaux 7 年之前
父節點
當前提交
f439909a83
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/launcher/style/index.css

+ 1 - 0
packages/launcher/style/index.css

@@ -177,6 +177,7 @@
   height: var(--jp-private-launcher-card-label-height);
   line-height: var(--jp-private-launcher-card-label-height);
   font-size: var(--jp-ui-font-size1);
+  padding: 0 8px;
   color: var(--jp-ui-font-color1);
   box-sizing: border-box;
   overflow: hidden;