Skip to content

Commit

Permalink
normalize components height (#2354)
Browse files Browse the repository at this point in the history
resolves #2305

Co-authored-by: Fred Lefévère-Laoide <[email protected]>
  • Loading branch information
FredLL-Avaiga and Fred Lefévère-Laoide authored Dec 18, 2024
1 parent f7deb54 commit 242894c
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions frontend/taipy-gui/public/stylekit/controls/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
MODIFIER CLASSES
**************************************************/

.taipy-button {
margin: 4px 0;
}

/* fullwidth : */
.taipy-button.fullwidth {
display: flex;
Expand Down
3 changes: 3 additions & 0 deletions frontend/taipy-gui/public/stylekit/controls/file_download.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
/*************************************************
MODIFIER CLASSES
**************************************************/
.taipy-file-download>button {
margin: 4px 0;
}

/* fullwidth : */
.taipy-file-download.fullwidth button {
Expand Down
3 changes: 3 additions & 0 deletions frontend/taipy-gui/public/stylekit/controls/file_selector.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
/*************************************************
MODIFIER CLASSES
**************************************************/
.taipy-file-selector .MuiButtonBase-root {
margin: 4px 0;
}

/* fullwidth : */
.taipy-file-selector.fullwidth [role='button'] {
Expand Down
2 changes: 1 addition & 1 deletion frontend/taipy-gui/public/stylekit/controls/selector.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
**************************************************/

.taipy-selector {
margin: 0;
margin: 4px 0;
}


Expand Down
1 change: 1 addition & 0 deletions frontend/taipy-gui/public/stylekit/controls/slider.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@
max-width: 100%;
min-height: 48px;
align-items: center;
margin: 4px 0;
}
1 change: 1 addition & 0 deletions frontend/taipy-gui/public/stylekit/controls/status.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@
display: inline-flex;
min-height: 48px;
padding-top: 0.5em;
margin: 4px 0;
}
3 changes: 3 additions & 0 deletions frontend/taipy-gui/public/stylekit/controls/toggle.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
/*************************************************
MODIFIER CLASSES
**************************************************/
.taipy-toggle {
margin: 4px 0;
}

/* relative : Reset the theme toggle position to fit page flow */
.taipy-toggle.relative {
Expand Down

0 comments on commit 242894c

Please sign in to comment.