From 1bfaf4d6f4e36e3a6649adb9aa7d95194e142769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Mon, 16 Sep 2024 12:22:26 +0800 Subject: [PATCH] Fix css. --- app/assets/stylesheets/index_channel.css | 4 ++-- app/assets/stylesheets/new_channel.css | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/index_channel.css b/app/assets/stylesheets/index_channel.css index 8b9c295..48c160b 100644 --- a/app/assets/stylesheets/index_channel.css +++ b/app/assets/stylesheets/index_channel.css @@ -14,7 +14,7 @@ position: relative; } -.channel-accordion .channel-accordion-toggle { +.accordion.channel-accordion .channel-accordion-toggle { background-color: #fff; font-size: 16px; padding: 16px; @@ -36,7 +36,7 @@ outline: none; } -.channel-dropdown { +.dropdown.channel-dropdown { position: absolute; right: 10px; top: 12px; diff --git a/app/assets/stylesheets/new_channel.css b/app/assets/stylesheets/new_channel.css index 7b0f345..7437f54 100644 --- a/app/assets/stylesheets/new_channel.css +++ b/app/assets/stylesheets/new_channel.css @@ -39,10 +39,12 @@ } .module{ text-align: center; - width: 120px; + width: 125px; display: inline-block; margin: 8px 5px; padding: 15px 0px; + vertical-align: top; + overflow-wrap: break-word; } .module.cursor-pointer { cursor: pointer;