Skip to content

Commit 3af8768

Browse files
committed
Merge pull request #344 from divio/feature/object-tools-tablet
move object-tools back on tablets
2 parents c2e68a5 + d8a8658 commit 3af8768

File tree

2 files changed

+25
-19
lines changed

2 files changed

+25
-19
lines changed

djangocms_admin_style/sass/components/_mobile.scss

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -140,29 +140,35 @@ body.login {
140140
}
141141
}
142142

143-
.object-tools {
144-
float: left;
145-
max-width: 100% !important;
146-
li {
143+
@media (max-width: 600px) {
144+
.object-tools {
147145
float: left;
148-
margin-right: 20px;
149-
margin-bottom: 10px;
146+
max-width: 100% !important;
147+
li {
148+
float: left;
149+
margin-right: 20px;
150+
margin-bottom: 10px;
151+
}
150152
}
151-
}
152-
// changelist
153-
.change-list,
154-
.change-form {
155-
#content {
156-
.object-tools {
157-
overflow: hidden;
158-
float: none;
159-
margin: 0;
160-
li {
161-
padding-left: 0;
162-
margin-left: 0;
153+
// changelist
154+
.change-list,
155+
.change-form {
156+
#content {
157+
.object-tools {
158+
overflow: hidden;
159+
float: none;
160+
margin: 0;
161+
li {
162+
padding-left: 0;
163+
margin-left: 0;
164+
}
163165
}
164166
}
165167
}
168+
}
169+
170+
.change-list,
171+
.change-form {
166172
#changelist {
167173
position: static;
168174
.actions {

djangocms_admin_style/static/djangocms_admin_style/css/djangocms-admin.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)