Skip to content

Commit 6fdb45b

Browse files
committed
responsive stream 🆒
1 parent e07b569 commit 6fdb45b

File tree

2 files changed

+91
-2
lines changed

2 files changed

+91
-2
lines changed

src/sentry/static/sentry/less/sentry.less

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2550,3 +2550,92 @@ table.integrations {
25502550
box-shadow: none;
25512551
background: #fff;
25522552
}
2553+
2554+
/* Small screens */
2555+
2556+
@media(max-width:767px){
2557+
2558+
header {
2559+
padding: 15px 0 13px;
2560+
2561+
.icon-sentry-logo {
2562+
font-size: 16px;
2563+
padding-top: 3px;
2564+
}
2565+
2566+
.dropdown, .project-dropdown {
2567+
position: static;
2568+
padding-top: 3px;
2569+
2570+
.team-name {
2571+
font-size: 14px;
2572+
}
2573+
2574+
.dropdown-menu {
2575+
width: auto;
2576+
left: 0;
2577+
right: 0;
2578+
top: 40px;
2579+
border-radius: 0;
2580+
max-height: 9999px;
2581+
overflow-x: hidden;
2582+
2583+
ul li {
2584+
width: 100%;
2585+
font-size: 16px;
2586+
margin: 0;
2587+
2588+
a {
2589+
padding: 10px 20px;
2590+
left: 0;
2591+
margin-left: -20px;
2592+
margin-right: -20px;
2593+
}
2594+
}
2595+
}
2596+
}
2597+
}
2598+
2599+
/* Stream */
2600+
2601+
.primary-filters {
2602+
padding-right: 15px;
2603+
margin-bottom: 10px;
2604+
}
2605+
.search {
2606+
margin-bottom: -5px;
2607+
.search-input {
2608+
font-size: 12px;
2609+
line-height: 22px;
2610+
}
2611+
}
2612+
2613+
.group-header-container {
2614+
margin-left: -15px;
2615+
margin-right: -15px;
2616+
.container {
2617+
left: 0;
2618+
margin: 0;
2619+
padding: 0
2620+
}
2621+
&.affix {
2622+
padding-left: 15px;
2623+
padding-right: 0;
2624+
}
2625+
}
2626+
2627+
.group-list, .events {
2628+
display: block;
2629+
width: auto;
2630+
margin-left: -15px;
2631+
margin-right: -15px;
2632+
2633+
li.group {
2634+
display: block;
2635+
2636+
.event-cell {
2637+
display: block;
2638+
}
2639+
}
2640+
}
2641+
}

src/sentry/templates/sentry/groups/group_list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<a href="#" class="btn btn-default btn-sm"><span class="icon icon-bookmark"></span></a>
2525
</div>
2626
<div class="btn-group">
27-
<a class="btn btn-default btn-sm" data-action="pause" data-pause-label="{% trans "Updates are paused. Click to enable." %}" data-play-label="{% trans "Updates are live. Click to pause." %}" href="https://github.com/%3Cspan%20class="pl-s">javascript:void(0)">
27+
<a class="btn btn-default btn-sm hidden-xs" data-action="pause" data-pause-label="{% trans "Updates are paused. Click to enable." %}" data-play-label="{% trans "Updates are live. Click to pause." %}" href="https://github.com/%3Cspan%20class="pl-s">javascript:void(0)">
2828
<span class="icon icon-pause"></span>
2929
</a>
3030
</div>
@@ -129,7 +129,7 @@ <h3><a href="<% group.permalink %>"><% group.title %></a></h3>
129129
&middot; <time time-since="group.firstSeen"></time>
130130
</div>
131131
</div>
132-
<div class="event-assignee event-cell">
132+
<div class="event-assignee event-cell hidden-xs">
133133
<assignee-selector></assignee-selector>
134134
</div>
135135
<div class="hidden-sm hidden-xs event-graph align-right event-cell">

0 commit comments

Comments
 (0)