mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix core button spacing in details expander
This commit is contained in:
parent
b94c37d21f
commit
9c203b3be1
4 changed files with 7 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ export const DetailsExpander = (props: Props) =>
|
|||
<div className="card border-primary">
|
||||
<div className="card-body p-2">
|
||||
<div className="container m-0">
|
||||
<div className="row">
|
||||
<div className="d-flex flex-row justify-content-between">
|
||||
<InfoCard columnVisibility={props.columnVisibility} software={props.software} {...props.list} />
|
||||
<LinkButtonGroup {...props.list} />
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import * as React from "react";
|
||||
import { ChatButton, DonateButton, EmailButton, ForumButton, HomeButton, IssuesButton, PolicyButton, SubmitButton, SubscribeButton, ViewButton } from "../linkButtons";
|
||||
import "./linkButtonGroup.css";
|
||||
|
||||
interface Props {
|
||||
chatUrl: string;
|
||||
|
|
@ -16,7 +17,7 @@ interface Props {
|
|||
};
|
||||
|
||||
export const LinkButtonGroup = (props: Props) =>
|
||||
<div className="col-3 p-0 btn-group-vertical justify-content-start d-flex align-items-end">
|
||||
<div className="btn-group-vertical">
|
||||
<SubscribeButton name={props.name} url={props.viewUrl} urlMirrors={props.viewUrlMirrors} />
|
||||
<ViewButton name={props.name} url={props.viewUrl} urlMirrors={props.viewUrlMirrors} />
|
||||
<HomeButton name={props.name} url={props.homeUrl} />
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ interface Props {
|
|||
};
|
||||
|
||||
export const InfoCard = (props: Props) =>
|
||||
<div className="col-9">
|
||||
<div className="flex-fill">
|
||||
{props.columnVisibility.filter((c: IColumnVisibility) => c.column === "Tags")[0].visible
|
||||
? null
|
||||
: <TagGroup tags={props.tags} />}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
.btn-group-vertical {
|
||||
display: inline;
|
||||
}
|
||||
Loading…
Reference in a new issue