mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 10:27:03 -04:00
Patcher: More useful errors with code diffs (#177)
* Patcher: More useful errors with code diffs * Nicer log formatting * PluginCards: ellipsises
This commit is contained in:
parent
739b1e47d4
commit
3af9a14a0e
8 changed files with 102 additions and 20 deletions
|
@ -145,7 +145,19 @@ function PluginCard({ plugin, disabled, onRestartNeeded, onMouseEnter, onMouseLe
|
|||
onChange={toggleEnabled}
|
||||
disabled={disabled}
|
||||
value={isEnabled()}
|
||||
note={<Text variant="text-md/normal" style={{ height: 40, overflow: "hidden" }}>{plugin.description}</Text>}
|
||||
note={<Text variant="text-md/normal" style={{
|
||||
height: 40,
|
||||
overflow: "hidden",
|
||||
// mfw css is so bad you need whatever this is to get multi line overflow ellipsis to work
|
||||
textOverflow: "ellipsis",
|
||||
display: "-webkit-box", // firefox users will cope (it doesn't support it)
|
||||
WebkitLineClamp: 2,
|
||||
lineClamp: 2,
|
||||
WebkitBoxOrient: "vertical",
|
||||
boxOrient: "vertical"
|
||||
}}>
|
||||
{plugin.description}
|
||||
</Text>}
|
||||
hideBorder={true}
|
||||
>
|
||||
<Flex style={{ marginTop: "auto", width: "100%", height: "100%", alignItems: "center" }}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue