Skip to content

Commit

Permalink
feat(segment): loading segment should cover loading spinner
Browse files Browse the repository at this point in the history
An empty loading segment does not cover the loading spinner

Original Fix by @brendon in Semantic-Org/Semantic-UI#6560
  • Loading branch information
lubber-de committed Mar 24, 2023
1 parent 980ea5e commit b952467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/definitions/elements/segment.less
Expand Up @@ -545,6 +545,7 @@
pointer-events: none;
user-select: none;
transition: all 0s linear;
min-height: @loadingMinHeight;
}
.ui.loading.segments::before,
.ui.loading.segment::before {
Expand Down
1 change: 1 addition & 0 deletions src/themes/default/elements/segment.variables
Expand Up @@ -88,6 +88,7 @@
/* Loading Spinner */
@loaderSize: 3em;
@loaderLineZIndex: 101;
@loadingMinHeight: @loaderSize * 1.5;

/*******************************
Variations
Expand Down

0 comments on commit b952467

Please sign in to comment.