Skip to content

Commit

Permalink
Fix unwanted horizontal scrollbar.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheep-y committed Jul 31, 2016
1 parent bb098f6 commit 5879e41
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 9 deletions.
35 changes: 27 additions & 8 deletions html/action_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@
-->
<section id='action_list'>
<style scoped><?coco-start css(minify) ?>
#act_list_txt_search {
width: 100%;
}
#act_list_pnl_term {
margin-top: 50px;
}
#act_list_txt_search {
width: 100%;
}
/* Search buttons */
#act_list_tbl_search {
width: 100%;
width: calc( 100% - 20px );
border-spacing: 0;
}
#act_list_tbl_search button {
Expand All @@ -20,7 +23,7 @@
margin: 0;
overflow: hidden;
white-space: nowrap;
width: calc( 50% - 10px );
width: 50%;
}
#act_list_tbl_search td+td {
width: 30px;
Expand Down Expand Up @@ -87,9 +90,25 @@
}
/* Big screen: Move search buttons to the right of search box */
@media (min-width: 768px) {
#act_list_pnl_term { margin-right: -320px; padding-right: 320px; float: left; width: 100%; }
#act_list_txt_search { font-size: 120%; }
#act_list_tbl_search { width: 300px; float: right; margin-left: 0; }
#act_list_pnl_term {
float: left;
margin-right: -320px;
margin-top: 10px;
padding-right: 320px;
width: calc( 100% - 10px );
}
#act_list_txt_search {
font-size: 120%;
width: 100%;
}
#act_list_tbl_search {
float: right;
margin-left: 0;
width: 300px;
}
#act_list_tbl_search td button {
width: 50%;
}
}
@media (min-width: 910px) {
#act_list_pnl_category button { max-width: 300px; }
Expand Down
2 changes: 1 addition & 1 deletion java/db4e/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class Main extends Application {

static String TITLE = "Compendium downloader";
static String VERSION = "3.5.1 (development)";
static String UPDATE_TIME = "2016-07-30"; // Any release beyond this time is an update
static String UPDATE_TIME = "9999-99-99"; // Any release beyond this time is an update

// Global log ang preference
public static final Logger log = Logger.getLogger( Main.class.getName() );
Expand Down

0 comments on commit 5879e41

Please sign in to comment.