Skip to content

Commit

Permalink
Small mobile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
majakomel committed Oct 24, 2024
1 parent a20fc15 commit ec20e61
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 159 deletions.
2 changes: 1 addition & 1 deletion components/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const SubMenu = () => {
<div className="bg-gray-50">
<div className="border-b border-gray-200">
<div className="container">
<nav className="-mb-px flex space-x-8">
<nav className="-mb-px flex gap-x-8 flex-wrap">
{menuItem.map((item) => (
<SubNavItem
key={item.href}
Expand Down
2 changes: 0 additions & 2 deletions components/aggregation/mat/TableView.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ const noRowsSelected = null

const TableView = ({ data, query, showFilters = true }) => {
const intl = useIntl()
const resetTableRef = useRef(false)
const yAxis = query.axis_y

// The incoming data is reshaped to generate:
// - reshapedData: holds the full set that will be used by GridChart
Expand Down
152 changes: 0 additions & 152 deletions components/dashboard/Charts.js

This file was deleted.

2 changes: 1 addition & 1 deletion pages/circumvention.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const Page = (props) => {
text={
<>
<FormattedMarkdown id="ReachabilityDash.CircumventionTools.Description" />
<ul className="columns-4">
<ul className="grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4">
{domains.map((d) => (
<li key={d}>
<a href={`#${d}`}>{d}</a>
Expand Down
2 changes: 1 addition & 1 deletion pages/news-media.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const Page = (props) => {
viverra ex blandit ullamcorper. Fusce consectetur nunc vel posuere
vehicula. Quisque vel magna nibh.
</p>
<ul className="columns-4">
<ul className="grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4">
{domains.map((d) => (
<li key={d}>
<a href={`#${d}`}>{d}</a>
Expand Down
3 changes: 1 addition & 2 deletions pages/social-media.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export const getServerSideProps = async () => {
}

const Page = (props) => {
console.log('props', props)
const intl = useIntl()
const domains = SOCIAL_MEDIA_IM_DOMAINS.sort((a, b) => {
return a.replace('www.', '').localeCompare(b.replace('www.', ''))
Expand Down Expand Up @@ -85,7 +84,7 @@ const Page = (props) => {
viverra ex blandit ullamcorper. Fusce consectetur nunc vel posuere
vehicula. Quisque vel magna nibh.
</p>
<ul className="columns-4">
<ul className="grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4">
{domains.map((d) => (
<li key={d}>
<a href={`#${d}`}>{d}</a>
Expand Down

0 comments on commit ec20e61

Please sign in to comment.