Skip to content

Commit 77ee23d

Browse files
committed
Enhance styling for chip-platform elements and improve layout responsiveness
1 parent 79135b3 commit 77ee23d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

assets/styles.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ body, html {
124124
margin-top: 0.5rem;
125125
width: 100%;
126126
max-width: 100%;
127+
overflow: hidden;
127128
}
128129

129130
.chip-platform {
@@ -140,6 +141,15 @@ body, html {
140141
font-weight: 500;
141142
transition: all 0.2s ease;
142143
white-space: nowrap;
144+
flex-direction: row;
145+
}
146+
147+
.chip-platform div {
148+
display: inline;
149+
margin: 0;
150+
padding: 0;
151+
line-height: 1;
152+
vertical-align: middle;
143153
}
144154

145155
.chip-platform:hover {
@@ -155,6 +165,11 @@ body, html {
155165
width: 20px;
156166
height: 20px;
157167
flex-shrink: 0;
168+
object-fit: contain;
169+
display: block;
170+
max-width: 20px;
171+
max-height: 20px;
172+
vertical-align: middle;
158173
}
159174

160175
.platforms-heading {
@@ -195,6 +210,8 @@ body, html {
195210
.chip-platform-icon {
196211
width: 18px;
197212
height: 18px;
213+
max-width: 18px;
214+
max-height: 18px;
198215
}
199216
}
200217

0 commit comments

Comments
 (0)