Skip to content

Commit 451697f

Browse files
author
Caio Tarifa
committed
Fixing responsive issues on dashboard and releasing v0.1.6
1 parent 1fe0737 commit 451697f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

app/assets/stylesheets/formadmin/components/_grid.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,20 @@ table.index_grid td {
1010
margin-bottom: 10px;
1111
padding: 0;
1212

13+
img {
14+
max-width: 100%;
15+
}
16+
1317
.column {
1418
float: left;
1519
}
1620
}
21+
22+
// Medias
23+
@media #{$largest-phone-screen} {
24+
.columns .column {
25+
float: none;
26+
margin-right: 0 !important;
27+
width: 100% !important;
28+
}
29+
}

app/assets/stylesheets/formadmin/layouts/_header.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@
196196

197197
#tabs {
198198
background-color: rgba($primary-color, 0.95);
199+
max-height: calc(100vh - 85px);
200+
overflow: auto;
199201
top: 90px;
200202

201203
li {

0 commit comments

Comments
 (0)