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