Commit 3a5a55d1 authored by Alexey Beloglazov's avatar Alexey Beloglazov Committed by Ev Maslovskiy
Browse files

Issue #3308530: The whole title of the lesson on desktop even if the title is long

parent 8743f19e
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased changes
- The lesson title will be displayed without cutting, no matter how long it is.

## [2.8.1]
- Fixed spacing for the lesson sidebar and lesson mobile navigation.
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+5 −8
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ const useStyles = makeStyles((theme) => ({
    justifyContent: 'space-between',
    alignItems: 'center',
    gap: theme.spacing(3),
    paddingLeft: theme.spacing(2),
    padding: theme.spacing(1.5, 0, 1.5, 2),
    [theme.breakpoints.up('sm')]: {
      paddingLeft: theme.spacing(3),
    },
@@ -47,8 +47,6 @@ const useStyles = makeStyles((theme) => ({
    display: 'flex',
    justifyContent: 'end',
    flexBasis: 240,
    marginBottom: theme.spacing(1.5),
    marginTop: theme.spacing(1.5),
    [theme.breakpoints.up('md')]: {
      flexBasis: 360,
    },
@@ -57,11 +55,10 @@ const useStyles = makeStyles((theme) => ({
    },
  },
  title: {
    overflow: 'hidden',
    textOverflow: 'ellipsis',
    lineClamp: 1,
    display: '-webkit-box',
    '-webkit-box-orient': 'vertical',
    padding: theme.spacing(1.5, 10, 1.5, 0),
    [theme.breakpoints.up('lg')]: {
      paddingRight: theme.spacing(15),
    },
  },
  pageNumberSection: {
    fontWeight: theme.typography.fontWeightRegular,