Skip to content

Commit 398e44b

Browse files
authored
Merge pull request #7882 from sanchawebo/rotateFix
fix: [DebugBar] make rotate class less broad
2 parents 39c5df6 + a98c0a6 commit 398e44b

File tree

2 files changed

+17
-21
lines changed

2 files changed

+17
-21
lines changed

admin/css/debug-toolbar/toolbar.scss

+9-10
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,15 @@
202202
// Give room for OS X scrollbar
203203
white-space: nowrap;
204204
z-index: 10000;
205+
// Endless rotate
206+
.rotate {
207+
animation: toolbar-rotate 9s linear infinite;
208+
}
209+
@keyframes toolbar-rotate {
210+
to {
211+
transform: rotate(360deg);
212+
}
213+
}
205214
}
206215

207216
// Fixed top
@@ -501,13 +510,3 @@
501510
.debug-bar-noverflow {
502511
overflow: hidden;
503512
}
504-
505-
/* ENDLESS ROTATE */
506-
.rotate {
507-
animation: rotate 9s linear infinite;
508-
}
509-
@keyframes rotate {
510-
to {
511-
transform: rotate(360deg);
512-
}
513-
}

system/Debug/Toolbar/Views/toolbar.css

+8-11
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,14 @@
140140
white-space: nowrap;
141141
z-index: 10000;
142142
}
143+
#debug-bar .toolbar .rotate {
144+
animation: toolbar-rotate 9s linear infinite;
145+
}
146+
@keyframes toolbar-rotate {
147+
to {
148+
transform: rotate(360deg);
149+
}
150+
}
143151
#debug-bar.fixed-top {
144152
bottom: auto;
145153
top: 0;
@@ -796,14 +804,3 @@
796804
.debug-bar-noverflow {
797805
overflow: hidden;
798806
}
799-
800-
/* ENDLESS ROTATE */
801-
.rotate {
802-
animation: rotate 9s linear infinite;
803-
}
804-
805-
@keyframes rotate {
806-
to {
807-
transform: rotate(360deg);
808-
}
809-
}

0 commit comments

Comments
 (0)