mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 18:13:25 +00:00
Fix label position
This commit is contained in:
@@ -9,9 +9,18 @@
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.top-right-label {
|
||||
position: absolute;
|
||||
right: 1rem;
|
||||
top: 1rem;
|
||||
font-weight: normal;
|
||||
color: #4A4863;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 2px;
|
||||
height: 2px;
|
||||
background: currentColor;
|
||||
border-radius: 100px;
|
||||
}
|
||||
}
|
||||
|
@@ -12,3 +12,9 @@ export function BottomLabel() {
|
||||
</h3>
|
||||
);
|
||||
}
|
||||
|
||||
export function TopRightLabel() {
|
||||
const version = useVersion({ prefixed: true });
|
||||
|
||||
return <h3 className="top-right-label">{version}</h3>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user