Skip to content

Commit c6d3276

Browse files
committed
drop
1 parent d7eecbe commit c6d3276

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

public/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
</head>
1111
<body>
1212
<div class="container">
13-
<div class="ribbon">
13+
<!-- <div class="ribbon">
1414
<span>BETA</span>
1515
</div>
1616
<header>
1717
<img src="steam.png" alt="Steam Logo" class="header-logo">
1818
<span class="header-text">Редактор Steam Разметки</span>
19-
</header>
19+
</header> -->
2020

21-
<div class="buttons">
21+
<div class="nav-controls" data-collapsed="false">
2222
<button data-tag="h1">H1<span class="tooltip">Ctrl + Shift + H</span></button>
2323
<button data-tag="h2">H2</button>
2424
<button data-tag="h3">H3</button>

public/styles.css

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ body {
2121
}
2222

2323
.container {
24-
width: 60%;
25-
max-height: 80vh;
24+
display: flex;
25+
flex-direction: row;
26+
width: 100%;
27+
max-height: 100vh;
2628
overflow-y: auto;
2729
border-radius: 15px;
2830
padding: 20px;
@@ -74,19 +76,23 @@ header {
7476
width: auto;
7577
}
7678

77-
.buttons {
79+
.nav-controls {
7880
padding-bottom: 8px;
81+
display: grid;
82+
grid-template-columns: repeat(5, 1fr);
83+
grid-row-gap: 16px;
84+
grid-column-gap: 8px;
7985
}
8086

81-
.buttons button {
87+
.nav-controls button {
8288
position: relative;
83-
margin-right: 4px;
8489
background-color: #555;
8590
border: none;
8691
color: #fff;
87-
padding: 10px 15px;
92+
padding: 12px 8px;
8893
border-radius: 5px;
8994
cursor: pointer;
95+
height: min-content;
9096
}
9197

9298
.tooltip {

src/components/container/container.css

Whitespace-only changes.

src/components/container/container.js

Whitespace-only changes.

0 commit comments

Comments
 (0)