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>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link rel="icon" href="data:;base64,=">
|
<link rel="icon" href="data:;base64,=">
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
<title>PTouch</title>
|
<title>PTouch</title>
|
||||||
|
|
@ -8,6 +9,12 @@
|
||||||
<body>
|
<body>
|
||||||
<table id="elements">
|
<table id="elements">
|
||||||
<thead>
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2"></td>
|
||||||
|
<td>Size</td>
|
||||||
|
<td>Position</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<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 {
|
body {
|
||||||
margin: 1em auto;
|
margin: 1em auto;
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
|
|
@ -36,7 +55,7 @@ input {
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pos input {
|
.pos input, .size input {
|
||||||
width: 60px;
|
width: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue