the baseline for the text was seriously off, the text had
(relatively) much more space below than above, which looks off for
buttons with an actual background
Instead of centering with margin/padding explicitly, do so with the
flex layout model.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
height: 100%;
}
+/* Fix icon/text baseline */
+.x-tab-default {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+}
+.x-tab-default > span {
+ text-align: center;
+ vertical-align: middle;
+}
+.x-tab-button {
+ line-height: unset;
+}
+.x-tab-inner {
+ display: unset;
+ vertical-align: text-top;
+}
+.x-tab-wrap {
+ display: unset;
+}
+.x-tab-default-top {
+ padding: 2px 6px 2px 6px;
+}
+
/* rules for the markdown content, prefix with the .pmx-md class */
.pmx-md {
font-size: 1.0em;