css minor changes

This commit is contained in:
Kakabay 2022-12-12 14:59:20 +05:00
parent e64d36dced
commit da2d3218db
8 changed files with 27 additions and 15 deletions

View File

@ -10,7 +10,7 @@
.documents-links-wrapper {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-columns: repeat(2, 1fr);
column-gap: 4rem;
row-gap: 2.4rem;
}

View File

@ -68,15 +68,21 @@
}
@media (max-width: 1440px) {
.footer-top-content {
grid-template-columns: repeat(2, 47.4rem);
column-gap: 8rem;
}
// .footer-top-content {
// grid-template-columns: repeat(2, 47.4rem);
// column-gap: 8rem;
// }
.footer-nav-list {
grid-template-columns: repeat(2, 47.4rem);
column-gap: 8rem;
row-gap: 1.6rem;
// .footer-nav-list {
// grid-template-columns: repeat(2, 47.4rem);
// column-gap: 8rem;
// row-gap: 1.6rem;
// }
.footer {
.container {
width: 80%;
}
}
}

View File

@ -3,6 +3,12 @@
flex-direction: column;
gap: 2.4rem;
margin-top: 4.8rem;
width: 80%;
margin: 4.8rem auto 0;
}
.sub-page-full {
width: 100%;
}
.sub-page-content-wrapper {

View File

@ -15,7 +15,7 @@ const DataChart = () => {
useEffect(() => {
// Table data fetch
const TabData = new Api('http://tmex.gov.tm:8765/api/categories', tabData, setTabData);
TabData.get();
TabData.get({ 'X-Localization': 'ru' });
}, []);
return (

View File

@ -14,7 +14,7 @@ const Contacts = () => {
contactsData,
setContactsData,
);
ContactsApi.get();
ContactsApi.get({ 'X-Localization': 'ru' });
// Scroll to top
window.scrollTo(0, 0);

View File

@ -41,7 +41,7 @@ const Multimedia = () => {
return (
<main>
<div className="container">
<div className="sub-page-wrapper">
<div className="sub-page-wrapper sub-page-full">
<SectionTitle title="Мультимедия" />
<div className="multimedia-wrapper">
<nav className="multimedia-nav">

View File

@ -17,7 +17,7 @@ const NewsPage = () => {
return (
<main>
<div className="container">
<div className="sub-page-wrapper">
<div className="sub-page-wrapper sub-page-full">
<SectionTitle title="Новости" />
<div className="news-page-wrapper">
{postsData

View File

@ -13,13 +13,13 @@ const Tarif = () => {
useEffect(() => {
const TarifApi = new Api('http://tmex.gov.tm:8765/api/tariffs', tarifData, setTarifData);
TarifApi.get({ 'X-Localization': 'en' });
TarifApi.get({ 'X-Localization': 'ru' });
}, []);
return (
<main>
<div className="container">
<div className="sub-page-wrapper">
<div className="sub-page-wrapper sub-page-full">
<SectionTitle title="Тарифы и сборы" />
<div className="tarif-wrapper">
<div className="tarif-wrapper-top">