mirror of
https://github.com/AmanTahiliani/Portfolio.git
synced 2026-08-07 11:52:48 -04:00
Added changes to slider overflow
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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}/>
|
||||
|
||||
Reference in New Issue
Block a user