Skip to content

Commit 2f1ddc9

Browse files
committed
Css fixes
1 parent 070ce52 commit 2f1ddc9

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

assets/css/styles.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -596,8 +596,8 @@ video {
596596
width: 1rem;
597597
}
598598

599-
.w-40 {
600-
width: 10rem;
599+
.w-44 {
600+
width: 11rem;
601601
}
602602

603603
.w-72 {
@@ -1482,6 +1482,10 @@ video {
14821482
display: grid;
14831483
}
14841484

1485+
.md\:max-w-md {
1486+
max-width: 28rem;
1487+
}
1488+
14851489
.md\:grid-cols-10 {
14861490
grid-template-columns: repeat(10, minmax(0, 1fr));
14871491
}

templates/dashboards/apcu.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{'title': 'Key'},
2222
{'title': 'Hits', 'class': 'w-16'},
2323
{'title': 'Last used', 'class': 'w-32'},
24-
{'title': 'Created', 'class': 'w-40 hidden md:table-cell'},
24+
{'title': 'Created', 'class': 'w-44 hidden md:table-cell'},
2525
{'title': 'TTL', 'class': 'w-32'},
2626
],
2727
classes: {

templates/dashboards/opcache.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
{'title': 'Hits', 'class': 'w-16'},
2424
{'title': 'Memory', 'class': 'w-24'},
2525
{'title': 'Last used', 'class': 'w-32'},
26-
{'title': 'Created', 'class': 'w-40 hidden md:table-cell'},
26+
{'title': 'Created', 'class': 'w-44 hidden md:table-cell'},
2727
],
2828
classes: {
2929
5: 'hidden md:table-cell',

templates/partials/keys_table.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<td class="pl-6 px-3 py-2 border-b border-gray-200 dark:border-gray-700">{{ include('components/checkbox.twig', {class: 'check-key'}) }}</td>
2323
{% endif %}
2424
{% for item_key, item in key.items %}
25-
{% set td_class = item_key == 'title' or (item_key == 'link_title' and view_key) ? ' max-w-xs truncate hover:text-clip hover:break-all hover:whitespace-normal' : '' %}
25+
{% set td_class = item_key == 'title' or (item_key == 'link_title' and view_key) ? ' max-w-xs md:max-w-md truncate hover:text-clip hover:break-all hover:whitespace-normal' : '' %}
2626
<td class="px-3 py-2 border-b border-gray-200 text-sm{{ td_class }}{{ classes[loop.index]|space }} dark:border-gray-700 dark:text-gray-300">
2727
{% if item_key == 'link_title' and view_key %}
2828
{% set link = view_key|replace({'__key__': key.key}) %}

0 commit comments

Comments
 (0)