Skip to content

Instantly share code, notes, and snippets.

@jasonszhao
Created September 16, 2015 02:46
Show Gist options
  • Save jasonszhao/fa89094ae363df9c8d13 to your computer and use it in GitHub Desktop.
Save jasonszhao/fa89094ae363df9c8d13 to your computer and use it in GitHub Desktop.
Youtrack Responsive Hack
/*
* Makes JetBrains Youtrack responsive to a smaller viewport
* @author: jasonszhao
*/
@viewport {
width: 100%;
initial-scale: 1;
}
body {
width: 100%;
}
.ring-header-react {
width: 100%;
max-width: 100%;
min-width: 1px!important;
padding-left: 0;
padding-right: 0;
}
.ring-header {
min-width: 1px!important;
width: 100%;
display: table;
}
.sb-board-panel {
max-width: 100%;
position: relative;
}
@media screen and (max-width: 863px){
.sb-board-panel::before {
content: "\02190 scroll \02192";
right: 0;
position: absolute;
color: grey;
top: -18px;
}
}
#board > *{
min-width: 800px;
overflow-x: scroll;
position: relative;
}
.container {
min-width: 1px!important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment