Procházet zdrojové kódy

fixed design for pages with files

FE_dev
Dzenis Hadzifejzovic před 2 roky
rodič
revize
b12c68d3ce

+ 1
- 1
src/assets/styles/components/_files.scss Zobrazit soubor



.page-navigation-buttons { .page-navigation-buttons {
display: flex; display: flex;
margin-top: 12px;
flex-wrap: wrap;
} }


.page-navigation-buttons > button { .page-navigation-buttons > button {

+ 1
- 2
src/pages/FilesPage/FileTable.js Zobrazit soubor

display: "flex", display: "flex",
marginTop: "39px", marginTop: "39px",
justifyContent: "space-between", justifyContent: "space-between",
minHeight: "500px",
// minHeight: "500px",
}} }}
> >
<div style={{ display: "flex", flexDirection: "column" }}> <div style={{ display: "flex", flexDirection: "column" }}>
style={{ style={{
display: "flex", display: "flex",
width: matches ? "75vw" : "85vw", width: matches ? "75vw" : "85vw",
height: "330px",
flexDirection: "row", flexDirection: "row",
}} }}
> >

+ 12
- 7
src/pages/FilesPage/FilesPage.js Zobrazit soubor

const ColoredLine = () => ( const ColoredLine = () => (
<hr <hr
style={{ style={{
color: "#F5F5F5",
backgroundColor: "#F5F5F5",
backgroundColor: "#D8D8D8",
height: 1, height: 1,
border: 0,
}} }}
/> />
); );
setTrigger((trigger) => trigger + 1); setTrigger((trigger) => trigger + 1);
}} }}
> >
<div style={{ marginBottom: matches ? "20px" : "50px" }}>
<div style={{ marginBottom: "30px" }}>
<div
style={{
marginBottom: matches ? "20px" : "50px",
marginTop: matches && "20px",
}}
>
<div style={{ marginBottom: "20px" }}>
<div <div
style={{ style={{
display: "flex", display: "flex",
alignItems: "center", alignItems: "center",
justifyContent: "space-between", justifyContent: "space-between",
marginBottom: "15px",
}} }}
> >
<h1 className="page-heading">Folderi</h1> <h1 className="page-heading">Folderi</h1>
<div className="page-navigation-buttons"> <div className="page-navigation-buttons">
<div <div
onClick={() => history.push({ pathname: FILES_PAGE })} onClick={() => history.push({ pathname: FILES_PAGE })}
style={{ marginLeft: 0 }}
className="files-file-routing" className="files-file-routing"
> >
Root Root
</div> </div>
</div> </div>


<div style={{ marginBottom: "50px" }}>
<div style={{ marginBottom: "30px" }}>
<div>
<div style={{ marginBottom: "0px" }}>
<h1 className="page-heading">Fajlovi</h1> <h1 className="page-heading">Fajlovi</h1>
</div> </div>
<div className="files-page-categories"> <div className="files-page-categories">

Načítá se…
Zrušit
Uložit