Skip to content

Commit 6c235c6

Browse files
committed
Fix: Moved Rect text inside button tags
1 parent 1ffd41a commit 6c235c6

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ <h1>Telugu Text Wrapper Pro</h1>
5252
<button id="addToSquareBtn" class="add-shape-btn square-btn">
5353
➕ Square
5454
</button>
55-
<button id="addToRectBtn" class="add-shape-btn square-btn">
55+
<button id="addToRectBtn" class="add-shape-btn rect-btn">
5656
➕ Rect
57+
</button>
5758
</button>
5859
</div>
5960
</div>

style.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,4 +485,14 @@ textarea:focus {
485485
gap: 5px;
486486
}
487487
}
488-
/* Add this for the Rectangle Icon */
488+
489+
/* Rectangle Button - Indigo Color */
490+
.rect-btn {
491+
background: #6f42c1;
492+
color: white;
493+
}
494+
495+
.rect-btn:hover {
496+
background: #59359a;
497+
transform: translateY(-2px);
498+
}

0 commit comments

Comments
 (0)