mirror of
https://git.zx2c4.com/cgit
synced 2025-08-05 02:24:42 +02:00
Do not require javascript-enabled clients
A simple submit-button is all that's required to make the branch selector drop-down work on any client, so lets add one. Noticed-by: Olivier Ramonat <olivier@ramonat.fr> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
e36365c684
commit
601c76eb15
2 changed files with 16 additions and 0 deletions
12
cgit.css
12
cgit.css
|
@ -134,6 +134,18 @@ div#sidebar div.infobox select {
|
|||
padding: 0px;
|
||||
}
|
||||
|
||||
td#branch-dropdown-cell {
|
||||
width: 99%;
|
||||
}
|
||||
|
||||
input#switch-btn {
|
||||
width: 20px;
|
||||
border: solid 1px #aaa;
|
||||
background-color: #bbb;
|
||||
margin: 2px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
div#sidebar div.infobox input.txt {
|
||||
width: 100%;
|
||||
border: solid 1px #aaa;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue