mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fixed row heights
This commit is contained in:
parent
c17c4e7c0f
commit
7199e80b76
2 changed files with 7 additions and 4 deletions
|
|
@ -6,7 +6,8 @@ td > div {
|
|||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
line-height: 1.5;
|
||||
max-height: 3em;
|
||||
-webkit-line-clamp: 2; /* number of lines to show */
|
||||
line-height: 1.5; /* fallback */
|
||||
max-height: 3em; /* fallback */
|
||||
min-height: 3em; /* fixed row height */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,9 @@ export const SubscribeButton = (props: Props): JSX.Element | null =>
|
|||
(props.viewUrlMirrors && props.viewUrlMirrors.length > 0)
|
||||
? <SubscribeButtonDropdown {...props} />
|
||||
: props.viewUrl
|
||||
? <Button size="small" {...buildButtonProps(props.name, props.viewUrl)}>Subscribe</Button>
|
||||
? <div>
|
||||
<Button size="small" {...buildButtonProps(props.name, props.viewUrl)}>Subscribe</Button>
|
||||
</div>
|
||||
: null;
|
||||
|
||||
const SubscribeButtonDropdown = (props: Props): JSX.Element => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue