mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-10 09:39:58 +00:00
Show correct icon for compatible versions and improve styling
This commit is contained in:
@@ -51,8 +51,8 @@
|
||||
, "optionsBridgeCompatible": {
|
||||
"message": "COMPATIBLE"
|
||||
}
|
||||
, "optionsBridgeMaybeCompatible": {
|
||||
"message": "MAYBE COMPATIBLE"
|
||||
, "optionsBridgeLikelyCompatible": {
|
||||
"message": "LIKELY COMPATIBLE"
|
||||
}
|
||||
, "optionsBridgeIncompatible": {
|
||||
"message": "INCOMPATIBLE"
|
||||
|
||||
@@ -185,7 +185,7 @@ class App extends Component {
|
||||
[ "assets/icons8-cancel-120.png"
|
||||
, _("optionsBridgeNotFoundStatusText") ]
|
||||
} else {
|
||||
if (bridgeInfo.isVersionExact) {
|
||||
if (bridgeInfo.isVersionCompatible) {
|
||||
[ "assets/icons8-ok-120.png"
|
||||
, _("optionsBridgeFoundStatusText") ]
|
||||
} else {
|
||||
@@ -228,7 +228,7 @@ class App extends Component {
|
||||
if (bridgeInfo.isVersionExact) {
|
||||
_("optionsBridgeCompatible")
|
||||
} else {
|
||||
_("optionsBridgeMaybeCompatible")
|
||||
_("optionsBridgeLikelyCompatible")
|
||||
}
|
||||
} else {
|
||||
_("optionsBridgeIncompatible")
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
|
||||
.bridge__info {
|
||||
display: flex;
|
||||
padding-inline-start: 25px;
|
||||
}
|
||||
|
||||
.bridge__status {
|
||||
@@ -59,8 +60,15 @@
|
||||
display: flex;
|
||||
flex-basis: min-content;
|
||||
flex-direction: column;
|
||||
margin-inline-end: 50px;
|
||||
margin-inline-start: 25px;
|
||||
margin-inline-end: 25px;
|
||||
}
|
||||
|
||||
.bridge__info--not-found {
|
||||
padding-inline-end: 25px;
|
||||
}
|
||||
.bridge__info--found .bridge__status {
|
||||
border-inline-end: 1px solid var(--border-color);
|
||||
padding-inline-end: 25px;
|
||||
}
|
||||
|
||||
.bridge__status-text {
|
||||
|
||||
Reference in New Issue
Block a user