Skip to content

Commit cec7b1f

Browse files
authored
Merge pull request #7197 from escattone/switcher-widget-with-centered-megaphone-2744
switcher widget with centered megaphone on desktop
2 parents 05ea02c + 84aa59a commit cec7b1f

File tree

1 file changed

+11
-0
lines changed
  • kitsune/sumo/static/sumo/scss/layout

1 file changed

+11
-0
lines changed

kitsune/sumo/static/sumo/scss/layout/_aaq.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ aside .aaq-widget {
106106
align-items: center;
107107
justify-content: center;
108108
margin-bottom: p.$spacing-md;
109+
110+
// On desktop, stack icon above title
111+
@media #{p.$mq-lg} {
112+
flex-direction: column;
113+
}
109114
}
110115

111116
.switcher-icon {
@@ -115,6 +120,12 @@ aside .aaq-widget {
115120
flex-shrink: 0;
116121
animation: pulse 3s ease-in-out infinite;
117122

123+
// On desktop, remove right margin and add bottom margin
124+
@media #{p.$mq-lg} {
125+
margin-right: 0;
126+
margin-bottom: p.$spacing-sm;
127+
}
128+
118129
@keyframes pulse {
119130
0%, 100% {
120131
transform: scale(1);

0 commit comments

Comments
 (0)