Skip to content
Snippets Groups Projects
Commit bf7b21d1 authored by Jose Manuel Serrano Amaut's avatar Jose Manuel Serrano Amaut
Browse files

[FIX]: Refactor missing style for text in loader

parent bf29a64d
No related branches found
No related tags found
No related merge requests found
...@@ -158,6 +158,9 @@ ...@@ -158,6 +158,9 @@
-webkit-line-clamp: 2; /* number of lines to show */ -webkit-line-clamp: 2; /* number of lines to show */
line-clamp: 2; line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
/* display: flex;
align-items: center;
justify-content: center; */
&.dark-mode { &.dark-mode {
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.7);
} }
......
.circle_loader { text.files-ui-text-dynamic-loader {
fill: none;
stroke: #14ff00;
stroke-width: 8px;
transform-origin: center;
transform: rotate(-90deg);
/* width: 100px; */
}
.dui_svg_circle_loader {
/* border: 1px solid #14ff00; */
fill: rgba(0, 0, 0, 0.21);
border-radius: 50%;
&:hover {
fill: rgba(0, 0, 0, 0.61);
}
}
.dui-text-loader {
/* dominant-baseline: middle;
*/
text-anchor: middle; text-anchor: middle;
font-size: 1em; font-size: 1em;
//font-family: Arial; fill: aliceblue;
//fill: aliceblue; }
} \ No newline at end of file
...@@ -3,7 +3,7 @@ import { Clear } from "../../icons"; ...@@ -3,7 +3,7 @@ import { Clear } from "../../icons";
import { parseSize } from "../../icons/utils/utils"; import { parseSize } from "../../icons/utils/utils";
import LoaderContainer from "../LoaderContainer/LoaderContainer"; import LoaderContainer from "../LoaderContainer/LoaderContainer";
import { DynamicLoaderProps } from "./DynamicLoaderProps"; import { DynamicLoaderProps } from "./DynamicLoaderProps";
import "./DynamicLoader.scss";
const DynamicLoader: React.FC<DynamicLoaderProps> = ( const DynamicLoader: React.FC<DynamicLoaderProps> = (
props: DynamicLoaderProps props: DynamicLoaderProps
) => { ) => {
...@@ -102,7 +102,7 @@ const DynamicLoader: React.FC<DynamicLoaderProps> = ( ...@@ -102,7 +102,7 @@ const DynamicLoader: React.FC<DynamicLoaderProps> = (
{!hidePerncentage && percentage !== undefined && ( {!hidePerncentage && percentage !== undefined && (
<text <text
className="dui-text-dynamic-loader" className="files-ui-text-dynamic-loader"
x={`${finalX}`} x={`${finalX}`}
y={`${(finalX * 7) / 6}`} y={`${(finalX * 7) / 6}`}
> >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment