Skip to content

Commit bf7b21d

Browse files
committed
[FIX]: Refactor missing style for text in loader
1 parent bf29a64 commit bf7b21d

File tree

3 files changed

+8
-26
lines changed

3 files changed

+8
-26
lines changed

src/files-ui/components/file-mosaic/components/file-mosaic/FileMosaic.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@
158158
-webkit-line-clamp: 2; /* number of lines to show */
159159
line-clamp: 2;
160160
-webkit-box-orient: vertical;
161+
/* display: flex;
162+
align-items: center;
163+
justify-content: center; */
161164
&.dark-mode {
162165
color: rgba(255, 255, 255, 0.7);
163166
}
Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,5 @@
1-
.circle_loader {
2-
fill: none;
3-
stroke: #14ff00;
4-
stroke-width: 8px;
5-
transform-origin: center;
6-
transform: rotate(-90deg);
7-
/* width: 100px; */
8-
}
9-
10-
.dui_svg_circle_loader {
11-
/* border: 1px solid #14ff00; */
12-
fill: rgba(0, 0, 0, 0.21);
13-
border-radius: 50%;
14-
&:hover {
15-
fill: rgba(0, 0, 0, 0.61);
16-
}
17-
}
18-
19-
.dui-text-loader {
20-
/* dominant-baseline: middle;
21-
*/
1+
text.files-ui-text-dynamic-loader {
222
text-anchor: middle;
233
font-size: 1em;
24-
//font-family: Arial;
25-
//fill: aliceblue;
26-
}
4+
fill: aliceblue;
5+
}

src/files-ui/components/loader/DynamicLoader/DynamicLoader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Clear } from "../../icons";
33
import { parseSize } from "../../icons/utils/utils";
44
import LoaderContainer from "../LoaderContainer/LoaderContainer";
55
import { DynamicLoaderProps } from "./DynamicLoaderProps";
6-
6+
import "./DynamicLoader.scss";
77
const DynamicLoader: React.FC<DynamicLoaderProps> = (
88
props: DynamicLoaderProps
99
) => {
@@ -102,7 +102,7 @@ const DynamicLoader: React.FC<DynamicLoaderProps> = (
102102

103103
{!hidePerncentage && percentage !== undefined && (
104104
<text
105-
className="dui-text-dynamic-loader"
105+
className="files-ui-text-dynamic-loader"
106106
x={`${finalX}`}
107107
y={`${(finalX * 7) / 6}`}
108108
>

0 commit comments

Comments
 (0)