mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-12-26 01:13:41 +02:00
Merge pull request #683 from ericcornelissen/grid-item-overflow-fix
Fix grid item overflow due to text
This commit is contained in:
commit
403023f7dd
10
index.html
10
index.html
@ -349,7 +349,7 @@
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
|
||||
grid-auto-rows: 6rem;
|
||||
grid-auto-rows: min-content;
|
||||
grid-column-gap: 0.375rem;
|
||||
grid-row-gap: 0.375rem;
|
||||
grid-auto-flow: dense;
|
||||
@ -367,6 +367,10 @@
|
||||
|
||||
.grid-item {
|
||||
background-color: #757575;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
.grid-item--light {
|
||||
@ -405,7 +409,6 @@
|
||||
|
||||
.grid-item__link {
|
||||
display: block;
|
||||
padding: 1rem 1rem 0;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
@ -420,9 +423,6 @@
|
||||
font-weight: 400;
|
||||
line-height: 1rem;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.grid-item__subtitle {
|
||||
|
Loading…
Reference in New Issue
Block a user