mirror of
https://codeberg.org/icewind/ptouch-api.git
synced 2026-06-03 10:54:07 +02:00
minor mobile improvement
This commit is contained in:
parent
01409aafaf
commit
20060fefe0
2 changed files with 27 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="icon" href="data:;base64,=">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>PTouch</title>
|
||||
|
|
@ -8,6 +9,12 @@
|
|||
<body>
|
||||
<table id="elements">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="2"></td>
|
||||
<td>Size</td>
|
||||
<td>Position</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,25 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 450px) {
|
||||
#elements {
|
||||
thead {
|
||||
display: none !important;
|
||||
}
|
||||
td {
|
||||
display: inline-block !important;
|
||||
width: auto;
|
||||
}
|
||||
tbody td:first-child {
|
||||
width: 95%;
|
||||
input[type="text"] {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 1em auto;
|
||||
max-width: 800px;
|
||||
|
|
@ -36,7 +55,7 @@ input {
|
|||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.pos input {
|
||||
.pos input, .size input {
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue