瀏覽代碼

article footer small display (#7031)

maTh 1 年之前
父節點
當前提交
a41aadf02a
共有 3 個文件被更改,包括 25 次插入3 次删除
  1. 3 3
      app/views/helpers/index/normal/entry_bottom.phtml
  2. 11 0
      p/themes/base-theme/frss.css
  3. 11 0
      p/themes/base-theme/frss.rtl.css

+ 3 - 3
app/views/helpers/index/normal/entry_bottom.phtml

@@ -39,7 +39,7 @@
 		<div class="item-element dropdown dynamictags">
 		<div class="item-element dropdown dynamictags">
 			<div id="dropdown-labels-<?= $this->entry->id() ?>" class="dropdown-target"></div>
 			<div id="dropdown-labels-<?= $this->entry->id() ?>" class="dropdown-target"></div>
 			<a class="dropdown-toggle" href="#dropdown-labels-<?= $this->entry->id() ?>">
 			<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>
 			</a>
 		</div>
 		</div>
 	</li><?php
 	</li><?php
@@ -50,7 +50,7 @@
 		<div class="item-element dropdown">
 		<div class="item-element dropdown">
 			<div id="dropdown-tags-<?= $this->entry->id() ?>" class="dropdown-target"></div>
 			<div id="dropdown-tags-<?= $this->entry->id() ?>" class="dropdown-target"></div>
 			<a class="dropdown-toggle" href="#dropdown-tags-<?= $this->entry->id() ?>">
 			<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>
 			</a>
 			<ul class="dropdown-menu">
 			<ul class="dropdown-menu">
 				<li class="dropdown-header"><?= _t('index.tag.related') ?></li>
 				<li class="dropdown-header"><?= _t('index.tag.related') ?></li>
@@ -68,7 +68,7 @@
 		?><div class="item-element dropdown">
 		?><div class="item-element dropdown">
 			<div id="dropdown-share-<?= $this->entry->id() ?>" class="dropdown-target"></div>
 			<div id="dropdown-share-<?= $this->entry->id() ?>" class="dropdown-target"></div>
 			<a class="dropdown-toggle" href="#dropdown-share-<?= $this->entry->id() ?>">
 			<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>
 			</a>
 			<?php /* entry_share_menu */ ?>
 			<?php /* entry_share_menu */ ?>
 		</div>
 		</div>

+ 11 - 0
p/themes/base-theme/frss.css

@@ -62,6 +62,17 @@ html, body {
 	font-size: 100%;
 	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 {
 main.prompt {
 	margin: 3rem auto 0;
 	margin: 3rem auto 0;
 	padding: 2rem;
 	padding: 2rem;

+ 11 - 0
p/themes/base-theme/frss.rtl.css

@@ -62,6 +62,17 @@ html, body {
 	font-size: 100%;
 	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 {
 main.prompt {
 	margin: 3rem auto 0;
 	margin: 3rem auto 0;
 	padding: 2rem;
 	padding: 2rem;