aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2024-11-30 12:53:14 +0100
committerGravatar GitHub <noreply@github.com> 2024-11-30 12:53:14 +0100
commita41aadf02add2e326a1cfa320022e5db3600f9d4 (patch)
tree34c0c3c9e23a9d450a489f0467ccd9839a407c56
parentaaa4acf2a33da276039e6342ae34abead143fd8e (diff)
article footer small display (#7031)
-rw-r--r--app/views/helpers/index/normal/entry_bottom.phtml6
-rw-r--r--p/themes/base-theme/frss.css11
-rw-r--r--p/themes/base-theme/frss.rtl.css11
3 files changed, 25 insertions, 3 deletions
diff --git a/app/views/helpers/index/normal/entry_bottom.phtml b/app/views/helpers/index/normal/entry_bottom.phtml
index 3d405a5d8..0394405ad 100644
--- a/app/views/helpers/index/normal/entry_bottom.phtml
+++ b/app/views/helpers/index/normal/entry_bottom.phtml
@@ -39,7 +39,7 @@
<div class="item-element dropdown dynamictags">
<div id="dropdown-labels-<?= $this->entry->id() ?>" class="dropdown-target"></div>
<a class="dropdown-toggle" href="#dropdown-labels-<?= $this->entry->id() ?>">
- <?= _i('label') ?><?= _t('index.menu.tags') ?>
+ <?= _i('label') ?><span class="dropdown-label"><?= _t('index.menu.tags') ?></span>
</a>
</div>
</li><?php
@@ -50,7 +50,7 @@
<div class="item-element dropdown">
<div id="dropdown-tags-<?= $this->entry->id() ?>" class="dropdown-target"></div>
<a class="dropdown-toggle" href="#dropdown-tags-<?= $this->entry->id() ?>">
- <?= _i('tag') ?><?= _t('index.tag.related') ?>
+ <?= _i('tag') ?><span class="dropdown-label"><?= _t('index.tag.related') ?></span>
</a>
<ul class="dropdown-menu">
<li class="dropdown-header"><?= _t('index.tag.related') ?></li>
@@ -68,7 +68,7 @@
?><div class="item-element dropdown">
<div id="dropdown-share-<?= $this->entry->id() ?>" class="dropdown-target"></div>
<a class="dropdown-toggle" href="#dropdown-share-<?= $this->entry->id() ?>">
- <?= _i('share') ?><?= _t('index.share') ?>
+ <?= _i('share') ?><span class="dropdown-label"><?= _t('index.share') ?></span>
</a>
<?php /* entry_share_menu */ ?>
</div>
diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css
index 9d88e8c0c..b1825c96d 100644
--- a/p/themes/base-theme/frss.css
+++ b/p/themes/base-theme/frss.css
@@ -62,6 +62,17 @@ html, body {
font-size: 100%;
}
+main#stream {
+ container-type: inline-size;
+ container-name: main;
+}
+
+@container main (max-width: 600px) {
+ .horizontal-list.bottom .dropdown-label {
+ display: none;
+ }
+}
+
main.prompt {
margin: 3rem auto 0;
padding: 2rem;
diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css
index cc7153c5d..460756cbc 100644
--- a/p/themes/base-theme/frss.rtl.css
+++ b/p/themes/base-theme/frss.rtl.css
@@ -62,6 +62,17 @@ html, body {
font-size: 100%;
}
+main#stream {
+ container-type: inline-size;
+ container-name: main;
+}
+
+@container main (max-width: 600px) {
+ .horizontal-list.bottom .dropdown-label {
+ display: none;
+ }
+}
+
main.prompt {
margin: 3rem auto 0;
padding: 2rem;