platform/packages/theme/styles/prose.scss
Alexander Platov 4878dae539
Tables support for Markup editor (#2385)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
2022-11-18 13:45:30 +07:00

48 lines
1.1 KiB
SCSS

//
// Copyright © 2022 Hardcore Engineering Inc.
//
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. You may
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
/* Table */
table.proseTable {
border-collapse: collapse;
table-layout: fixed;
width: 100%;
margin: 0;
overflow: hidden;
td,
th {
min-width: 1rem;
height: 2rem;
border: 1px solid var(--button-border-hover);
padding: .25rem .5rem;
vertical-align: top;
box-sizing: border-box;
position: relative;
> * {
margin-bottom: 0;
}
}
th {
text-align: left;
background-color: var(--button-bg-color);
}
p {
margin: 0;
}
}