Added changes to slider overflow

This commit is contained in:
Aman Tahiliani
2022-05-09 00:04:36 +05:30
parent 7758ec4463
commit ed0ab207d2
2 changed files with 9 additions and 1 deletions

View File

@@ -10,6 +10,10 @@ td {
text-align: left;
}
tr {
height: auto;
}
tr:hover {
background-color: salmon;
}
@@ -18,7 +22,11 @@ tr:hover {
padding: 30px;
margin: 40px;
border: 1px solid white;
height: auto;
border-radius: 5em;
white-space: normal;
overflow: auto;
text-overflow: ellipsis;
}
.publication-detail h3 {

View File

@@ -26,7 +26,7 @@ export default class SimpleSlider extends Component {
slidesToScroll: 1,
};
return (
<div>
<div style={{height:"auto"}}>
<Slider ref={c => (this.slider = c)} {...settings}>
{publicationData.map(({title,authors, publish_date, abstract,link}) =>(
<Publication title={title} authors={authors} publish_date={publish_date} abstract={abstract} link={link}/>