diff --git a/release/antos-1.2.1.tar.gz b/release/antos-1.2.1.tar.gz index e76af0b..1e1c6ed 100644 Binary files a/release/antos-1.2.1.tar.gz and b/release/antos-1.2.1.tar.gz differ diff --git a/src/core/BaseDialog.ts b/src/core/BaseDialog.ts index 6474c8c..656bfb4 100644 --- a/src/core/BaseDialog.ts +++ b/src/core/BaseDialog.ts @@ -567,7 +567,7 @@ namespace OS { * Scheme definition */ CalendarDialog.scheme = `\ - +
diff --git a/src/core/tags/LabelTag.ts b/src/core/tags/LabelTag.ts index 77dd0a0..e45d285 100644 --- a/src/core/tags/LabelTag.ts +++ b/src/core/tags/LabelTag.ts @@ -33,7 +33,17 @@ namespace OS { * @protected * @memberof LabelTag */ - protected mount() {} + protected mount() { + $(this.refs.container) + .css("display", "flex") + .css("flex-direction", "row"); + $(this.refs.iclass) + .css("flex-shrink",0); + $(this.refs.i) + .css("flex-shrink",0); + $(this.refs.text) + .css("flex",1); + } /** * Refresh the text in the label diff --git a/src/themes/system/afx-calendar-view.css b/src/themes/system/afx-calendar-view.css index 1f46bfe..16dc2da 100644 --- a/src/themes/system/afx-calendar-view.css +++ b/src/themes/system/afx-calendar-view.css @@ -4,4 +4,7 @@ afx-calendar-view afx-grid-view afx-grid-row:nth-child(even) afx-grid-cell } afx-calendar-view afx-grid-view .grid_row_header afx-grid-cell{ border-right: 0; +} +afx-calendar-view afx-label { + display: inline-block; } \ No newline at end of file diff --git a/src/themes/system/afx-label.css b/src/themes/system/afx-label.css index d6f81cd..11782f3 100644 --- a/src/themes/system/afx-label.css +++ b/src/themes/system/afx-label.css @@ -1,16 +1,12 @@ afx-label i.icon-style { display: inline-block; - flex-shrink: 0; } afx-label span { - display: flex; - flex-direction: row; - align-items:center; + align-items: center; justify-content: center; } afx-label i.label-text{ font-weight: normal; font-style: normal; margin-left: 3px; - flex: 1; } \ No newline at end of file