Skip to content

Commit

Permalink
Add kiwi ios app class
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDaub committed Jan 29, 2025
1 parent 91308ab commit db96adb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/public/news.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
--table-bg-mobile: rgb(255, 255, 250);
--visited-link: #828282;
}
html.kiwi-ios-app .bottom-nav,
html.kiwi-ios-app .vote-button-container,
html.kiwi-ios-app .site-explainer {
display: none !important;
}
html.kiwi-ios-app .content-container {
margin-left: 11px;
}
.scroll-margin-base, .scroll-margin-with-image {
scroll-margin-top: 100px;
}
Expand Down
1 change: 1 addition & 0 deletions src/views/components/row.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ const row = (
</div>
</div>
<div
class="content-container"
style="display: flex; align-items: start; flex-grow: 1; gap: 8px;"
>
${story.metadata &&
Expand Down
1 change: 1 addition & 0 deletions src/web/src/CommentInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { client, chains, useProvider, useSigner } from "./client.mjs";
const SiteExplainer = () => {
return (
<div
className="site-explainer"
style={{
padding: "12px",
marginBottom: "1rem",
Expand Down

0 comments on commit db96adb

Please sign in to comment.