mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-11-25 20:42:40 +00:00
Changed tweet entity layout to match the way it presents on Twitter
This commit is contained in:
@@ -247,12 +247,24 @@
|
||||
grid-column-end: span 2;
|
||||
}
|
||||
|
||||
&.entity-count-2 .tweet-entity {
|
||||
grid-row-end: span 2;
|
||||
&.entity-count-2 {
|
||||
.tweet-entity {
|
||||
grid-row-end: span 2;
|
||||
}
|
||||
|
||||
.tweet-entities-inner {
|
||||
padding-bottom: 45%;
|
||||
}
|
||||
}
|
||||
|
||||
&.entity-count-3 .tweet-entity:first-child {
|
||||
grid-row-end: span 2;
|
||||
&.entity-count-3 {
|
||||
.tweet-entities-grid {
|
||||
grid-template: 1fr / 1fr 1fr 1fr;
|
||||
}
|
||||
|
||||
.tweet-entities-inner {
|
||||
padding-bottom: 30%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user