Skip to content
Snippets Groups Projects
Commit 76cdf695 authored by Silas Meister's avatar Silas Meister
Browse files

Add ellipsis

parent 032d080f
Branches
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<img class="article-image" src="img/astronaut.jpg" alt="" /> <img class="article-image" src="img/astronaut.jpg" alt="" />
<div class="article-content overlay"> <div class="article-content">
<div class="overlay"> <div class="overlay">
<h4 class="overlay-title">Expedition 48</h4> <h4 class="overlay-title">Expedition 48</h4>
<h4 class="overlay-description">NASA's Record-braking Astronaut Crewmates Safely Return to Earth. Here is some additional information to the article where you can read more!</h4> <h4 class="overlay-description">NASA's Record-braking Astronaut Crewmates Safely Return to Earth. Here is some additional information to the article where you can read more!</h4>
......
...@@ -364,6 +364,8 @@ main { ...@@ -364,6 +364,8 @@ main {
justify-content: flex-start; justify-content: flex-start;
align-items: flex-start; align-items: flex-start;
position: absolute; position: absolute;
width: 100%;
height: auto;
bottom: 0; bottom: 0;
left: 0; left: 0;
} }
...@@ -386,6 +388,9 @@ main { ...@@ -386,6 +388,9 @@ main {
max-height: 2.9rem; max-height: 2.9rem;
line-height: 1.1rem; line-height: 1.1rem;
overflow: hidden; overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 100%;
color: #111111; color: #111111;
font-size: 0.9rem; font-size: 0.9rem;
flex: 1 1 auto; flex: 1 1 auto;
...@@ -394,6 +399,7 @@ main { ...@@ -394,6 +399,7 @@ main {
.overlay > .overlay-description:hover { .overlay > .overlay-description:hover {
max-height: 100%; max-height: 100%;
overflow: visible; overflow: visible;
white-space: normal;
} }
.nasa-launch { .nasa-launch {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment