fix: uniform sizing for admin header buttons
This commit is contained in:
147
data/units.json
147
data/units.json
@@ -1,22 +1,37 @@
|
|||||||
{
|
{
|
||||||
"units": [
|
"units": [
|
||||||
{
|
{
|
||||||
"id": "dickload",
|
"id": "assload",
|
||||||
"label": "dickload",
|
"label": "assload",
|
||||||
"labelPlural": "dickloads",
|
"labelPlural": "assloads",
|
||||||
"symbol": "dl",
|
"symbol": "assl",
|
||||||
"group": "dickloads",
|
"group": "dickloads",
|
||||||
"toBase": 1,
|
"toBase": 2
|
||||||
"description": "The basic unit of measurement for all weights and masses worldwide."
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "pound",
|
"id": "imperial-barrel",
|
||||||
"label": "pound",
|
"label": "barrel",
|
||||||
"labelPlural": "pounds",
|
"labelPlural": "barrels",
|
||||||
"symbol": "lb",
|
"symbol": "bbl imperial",
|
||||||
"group": "dickloads",
|
"group": "dickloads",
|
||||||
"toBase": 0.038,
|
"toBase": 13.710316648,
|
||||||
"description": "Avoirdupois pounds, as used in the USA."
|
"hidden": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "us-dry-bbl",
|
||||||
|
"label": "barrel",
|
||||||
|
"labelPlural": "barrels",
|
||||||
|
"symbol": "bbl us dry",
|
||||||
|
"group": "dickloads",
|
||||||
|
"toBase": 9.6864954123
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "us-fluid-bbl",
|
||||||
|
"label": "barrel",
|
||||||
|
"labelPlural": "barrels",
|
||||||
|
"symbol": "bbl us fluid",
|
||||||
|
"group": "dickloads",
|
||||||
|
"toBase": 9.9894438
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "us-oil-bbl",
|
"id": "us-oil-bbl",
|
||||||
@@ -28,6 +43,23 @@
|
|||||||
"description": "Weight is based on pure water at 4 degrees celsius.",
|
"description": "Weight is based on pure water at 4 degrees celsius.",
|
||||||
"hidden": false
|
"hidden": false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "dickload",
|
||||||
|
"label": "dickload",
|
||||||
|
"labelPlural": "dickloads",
|
||||||
|
"symbol": "dl",
|
||||||
|
"group": "dickloads",
|
||||||
|
"toBase": 1,
|
||||||
|
"description": "The basic unit of measurement for all weights and masses worldwide."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "fuckton",
|
||||||
|
"label": "fuck ton",
|
||||||
|
"labelPlural": "fuck tons",
|
||||||
|
"symbol": "fcktn",
|
||||||
|
"group": "dickloads",
|
||||||
|
"toBase": 152
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "imperial-hogshead",
|
"id": "imperial-hogshead",
|
||||||
"label": "hogshead",
|
"label": "hogshead",
|
||||||
@@ -38,20 +70,13 @@
|
|||||||
"description": "The hogshead as understood by residents of Old Blighty."
|
"description": "The hogshead as understood by residents of Old Blighty."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "short-ton",
|
"id": "us-hogshead",
|
||||||
"label": "short ton",
|
"label": "hogshead",
|
||||||
"labelPlural": "short tons",
|
"labelPlural": "hogsheads",
|
||||||
"symbol": "t",
|
"symbol": "hhd us",
|
||||||
"group": "dickloads",
|
"group": "dickloads",
|
||||||
"toBase": 76
|
"toBase": 19.9788876,
|
||||||
},
|
"description": "Equal to two US fluid barrels."
|
||||||
{
|
|
||||||
"id": "fuckton",
|
|
||||||
"label": "fuck ton",
|
|
||||||
"labelPlural": "fuck tons",
|
|
||||||
"symbol": "fcktn",
|
|
||||||
"group": "dickloads",
|
|
||||||
"toBase": 152
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "long-ton",
|
"id": "long-ton",
|
||||||
@@ -73,20 +98,22 @@
|
|||||||
"hidden": false
|
"hidden": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "assload",
|
"id": "asdf",
|
||||||
"label": "assload",
|
"label": "asdf",
|
||||||
"labelPlural": "assloads",
|
"labelPlural": "asdf",
|
||||||
"symbol": "assl",
|
"symbol": "asdf",
|
||||||
"group": "dickloads",
|
"group": "another-group",
|
||||||
"toBase": 2
|
"toBase": 1,
|
||||||
|
"hidden": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "shitload",
|
"id": "pound",
|
||||||
"label": "shitload",
|
"label": "pound",
|
||||||
"labelPlural": "shitloads",
|
"labelPlural": "pounds",
|
||||||
"symbol": "shtld",
|
"symbol": "lb",
|
||||||
"group": "dickloads",
|
"group": "dickloads",
|
||||||
"toBase": 12.6666666667
|
"toBase": 0.038,
|
||||||
|
"description": "Avoirdupois pounds, as used in the USA."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "shit-ton",
|
"id": "shit-ton",
|
||||||
@@ -97,46 +124,20 @@
|
|||||||
"toBase": 38
|
"toBase": 38
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "asdf",
|
"id": "shitload",
|
||||||
"label": "asdf",
|
"label": "shitload",
|
||||||
"labelPlural": "asdf",
|
"labelPlural": "shitloads",
|
||||||
"symbol": "asdf",
|
"symbol": "shtld",
|
||||||
"group": "another-group",
|
"group": "dickloads",
|
||||||
"toBase": 1,
|
"toBase": 12.6666666667
|
||||||
"hidden": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "us-fluid-bbl",
|
"id": "short-ton",
|
||||||
"label": "barrel",
|
"label": "short ton",
|
||||||
"labelPlural": "barrels",
|
"labelPlural": "short tons",
|
||||||
"symbol": "bbl us fluid",
|
"symbol": "t",
|
||||||
"group": "dickloads",
|
"group": "dickloads",
|
||||||
"toBase": 9.9894438
|
"toBase": 76
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "us-dry-bbl",
|
|
||||||
"label": "barrel",
|
|
||||||
"labelPlural": "barrels",
|
|
||||||
"symbol": "bbl us dry",
|
|
||||||
"group": "dickloads",
|
|
||||||
"toBase": 9.6864954123
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "us-hogshead",
|
|
||||||
"label": "hogshead",
|
|
||||||
"labelPlural": "hogsheads",
|
|
||||||
"symbol": "hhd us",
|
|
||||||
"group": "dickloads",
|
|
||||||
"toBase": 19.9788876,
|
|
||||||
"description": "Equal to two US fluid barrels."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "imperial-barrel",
|
|
||||||
"label": "barrel",
|
|
||||||
"labelPlural": "barrels",
|
|
||||||
"symbol": "bbl imperial",
|
|
||||||
"group": "dickloads",
|
|
||||||
"toBase": 13.710316648
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"groups": [
|
"groups": [
|
||||||
|
|||||||
@@ -1160,6 +1160,12 @@
|
|||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
.admin-header-actions button {
|
||||||
|
width: auto;
|
||||||
|
padding: 0.3rem 0.75rem;
|
||||||
|
margin-bottom: 0;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
|
||||||
.admin-panels {
|
.admin-panels {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|||||||
Reference in New Issue
Block a user