Revize 2d1d243b
Přidáno uživatelem Tomáš Ballák před více než 4 roky(ů)
website/public/css/style.css | ||
---|---|---|
194 | 194 |
} |
195 | 195 |
} |
196 | 196 |
|
197 |
header.map .nav-item:nth-of-type(3) .dropdown { |
|
198 |
height: calc(100% + 10px) !important; |
|
199 |
margin: -5px; |
|
200 |
margin-top: -7px; |
|
201 |
} |
|
202 |
|
|
203 |
header.map .nav-item:nth-of-type(3) .dropdown .dropdown-menu { |
|
204 |
top: calc(100% - 4px); |
|
205 |
} |
|
206 |
|
|
207 |
@media (max-width: 991.98px) { |
|
208 |
header.map .nav-item:nth-of-type(3) .dropdown { |
|
209 |
height: 100% !important; |
|
210 |
margin: 0px; |
|
211 |
flex-direction: column; |
|
212 |
} |
|
213 |
} |
|
214 |
|
|
197 | 215 |
header.map .nav-item:nth-of-type(1), header.map .nav-item:nth-of-type(2), header.map .nav-item:nth-of-type(3) { |
198 | 216 |
width: 300px; |
199 | 217 |
} |
website/public/css/style.scss | ||
---|---|---|
194 | 194 |
margin-bottom: 20px; |
195 | 195 |
border: 0; |
196 | 196 |
} |
197 |
|
|
197 |
&:nth-of-type(3) { |
|
198 |
.dropdown { |
|
199 |
height: calc(100% + 10px) !important; |
|
200 |
margin: -5px; |
|
201 |
margin-top: -7px; |
|
202 |
.dropdown-menu { |
|
203 |
top: calc(100% - 4px); |
|
204 |
} |
|
205 |
@include media-breakpoint-down(md) { |
|
206 |
height: 100% !important; |
|
207 |
margin: 0px; |
|
208 |
flex-direction: column; |
|
209 |
} |
|
210 |
} |
|
211 |
} |
|
198 | 212 |
&:nth-of-type(1), &:nth-of-type(2), &:nth-of-type(3) { |
199 | 213 |
width: 300px; |
200 |
|
|
201 | 214 |
@media (max-width: 1500px) { |
202 | 215 |
width: 280px; |
203 | 216 |
} |
Také k dispozici: Unified diff
little css fixes