Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused styles #4426

Merged
merged 1 commit into from
Apr 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 0 additions & 70 deletions packages/lexical-playground/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -691,76 +691,6 @@ i.prettier-error {
outline: none;
}

#block-controls {
display: block;
position: absolute;
right: 10px;
width: 32px;
height: 32px;
box-sizing: border-box;
box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
top: 16px;
z-index: 10;
border-radius: 8px;
border: 1px solid rgb(206, 208, 212);
overflow: hidden;
}

#block-controls button {
border: 1px solid white;
background-color: #fff;
display: block;
transition: background-color 0.1s ease;
cursor: pointer;
outline: none;
border-radius: 8px;
padding: 3px;
}

#block-controls button:hover {
background-color: #efefef;
}

#block-controls button:focus-visible {
border-color: blue;
}

#block-controls span.block-type {
background-size: contain;
display: block;
width: 18px;
height: 18px;
margin: 2px;
}

#block-controls span.block-type.paragraph {
background-image: url(images/icons/text-paragraph.svg);
}

#block-controls span.block-type.h1 {
background-image: url(images/icons/type-h1.svg);
}

#block-controls span.block-type.h2 {
background-image: url(images/icons/type-h2.svg);
}

#block-controls span.block-type.quote {
background-image: url(images/icons/chat-square-quote.svg);
}

#block-controls span.block-type.ul {
background-image: url(images/icons/list-ul.svg);
}

#block-controls span.block-type.ol {
background-image: url(images/icons/list-ol.svg);
}

#block-controls span.block-type.code {
background-image: url(images/icons/code.svg);
}

.characters-limit {
color: #888;
font-size: 12px;
Expand Down